mirror of
https://github.com/YunoHost-Apps/tooljet_ynh.git
synced 2024-10-01 13:34:55 +02:00
Update nginx.conf
This commit is contained in:
parent
44636abf28
commit
dcbc03145e
1 changed files with 18 additions and 0 deletions
|
@ -13,6 +13,24 @@ location /api/ {
|
|||
try_files /_bypass_to_proxy @proxy;
|
||||
}
|
||||
|
||||
location /ws
|
||||
{
|
||||
proxy_pass http://127.0.0.1:__PORT__;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
|
||||
location /yjs
|
||||
{
|
||||
proxy_pass http://127.0.0.1:__PORT__;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
|
||||
location @proxy {
|
||||
proxy_pass http://127.0.0.1:__PORT__;
|
||||
proxy_redirect off;
|
||||
|
|
Loading…
Reference in a new issue