mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 12:33:02 +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>
10 lines
332 B
Plaintext
10 lines
332 B
Plaintext
proxy_pass http://127.0.0.1:8000;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection 'upgrade';
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_redirect off;
|