mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-28 20:42:41 +02:00
formatting of nginx snippets
This commit is contained in:
@@ -14,11 +14,9 @@ server {
|
|||||||
location / {
|
location / {
|
||||||
proxy_pass http://127.0.0.1:23000;
|
proxy_pass http://127.0.0.1:23000;
|
||||||
|
|
||||||
|
|
||||||
# For websockets
|
# For websockets
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection $http_connection;
|
proxy_set_header Connection $http_connection;
|
||||||
|
|
||||||
|
|
||||||
include /etc/nginx/snippets/ssl-proxy-params.conf;
|
include /etc/nginx/snippets/ssl-proxy-params.conf;
|
||||||
}
|
}
|
||||||
|
@@ -13,10 +13,9 @@ server {
|
|||||||
location / {
|
location / {
|
||||||
proxy_pass http://127.0.0.1:23000;
|
proxy_pass http://127.0.0.1:23000;
|
||||||
|
|
||||||
# For websockets
|
# For websockets
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection $http_connection;
|
proxy_set_header Connection $http_connection;
|
||||||
|
|
||||||
|
|
||||||
include /etc/nginx/snippets/ssl-proxy-params.conf;
|
include /etc/nginx/snippets/ssl-proxy-params.conf;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user