mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 04:33:00 +02:00
This enables access to /restconf on port 443 over HTTP/1.1 and HTTP/2 via rousette when enabled. Also, slight refactor to allow including /restconf and /netbrowse as optional locations in the main servier directive. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
7 lines
115 B
Erlang
7 lines
115 B
Erlang
location /netbrowse/ {
|
|
return 301 /netbrowse;
|
|
}
|
|
location /netbrowse {
|
|
include /etc/nginx/netbrowse.conf;
|
|
}
|