1
0
Fork 0
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:
tituspijean 2023-08-12 19:53:01 +02:00
parent 44636abf28
commit dcbc03145e
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -13,6 +13,24 @@ location /api/ {
try_files /_bypass_to_proxy @proxy; 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 { location @proxy {
proxy_pass http://127.0.0.1:__PORT__; proxy_pass http://127.0.0.1:__PORT__;
proxy_redirect off; proxy_redirect off;