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

21 lines
389 B
Nginx Configuration File
Raw Normal View History

2022-02-10 00:47:20 +01:00
location / {
2022-02-10 01:09:31 +01:00
# Path to source
2023-08-12 19:35:24 +02:00
root __INSTALL_DIR__/frontend/build/;
2022-02-10 01:09:31 +01:00
2022-02-10 00:47:20 +01:00
try_files $uri $uri/ /index.html @proxy;
error_page 405 @proxy;
2022-02-10 01:09:31 +01:00
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}
2022-02-10 00:47:20 +01:00
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;
}