1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tooljet_ynh.git synced 2024-10-01 13:34:55 +02:00
tooljet_ynh/conf/nginx.conf
2023-08-12 19:35:24 +02:00

20 lines
389 B
Nginx Configuration File

location / {
# Path to source
root __INSTALL_DIR__/frontend/build/;
try_files $uri $uri/ /index.html @proxy;
error_page 405 @proxy;
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}
location /api/ {
try_files /_bypass_to_proxy @proxy;
}
location @proxy {
proxy_pass http://127.0.0.1:__PORT__;
proxy_redirect off;
proxy_set_header Host $host;
}