frontend nginx improvement (#185)
Added websocket support for frontend->backend reverse proxy Removed buffering from frontend->backend reverse proxy Added python syntax in .editorconfig
This commit is contained in:
Родитель
26edc3a956
Коммит
4be91d2cfd
|
@ -8,3 +8,7 @@ end_of_line = lf
|
|||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
spaces_around_brackets = both
|
||||
|
||||
[*.py]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
|
|
@ -11,6 +11,11 @@ server {
|
|||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_speckle_server speckle-server;
|
||||
proxy_pass http://$upstream_speckle_server:3000;
|
||||
|
||||
proxy_buffering off;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
|
|
Загрузка…
Ссылка в новой задаче