1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tracim_ynh.git synced 2024-10-01 13:34:52 +02:00
tracim_ynh/conf/nginx.conf

49 lines
989 B
Nginx Configuration File
Raw Normal View History

2022-04-06 20:56:59 +02:00
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
2022-04-08 03:47:14 +02:00
location __PATH__/webdav {
uwsgi_pass unix:///tmp/uwsgi-__APP__-webdav.socket;
include uwsgi_params;
uwsgi_param SCRIPT_NAME '';
}
location __PATH__/dav {
2022-04-06 20:56:59 +02:00
2022-04-08 03:47:14 +02:00
uwsgi_pass unix:///tmp/uwsgi-__APP__-caldav.socket;
include uwsgi_params;
uwsgi_param SCRIPT_NAME '';
}
2022-04-12 19:35:10 +02:00
location __PATH__/assets/ {
2022-04-08 03:47:14 +02:00
# Path to source
2023-04-27 22:55:37 +02:00
alias __INSTALL_DIR__/frontend/dist/assets/ ;
2022-04-06 20:56:59 +02:00
2022-04-08 03:47:14 +02:00
try_files $uri $uri/;
}
2022-04-12 19:35:10 +02:00
location __PATH__/app/ {
2022-04-08 03:47:14 +02:00
# Path to source
2023-04-27 22:55:37 +02:00
alias __INSTALL_DIR__/frontend/dist/app/ ;
2022-04-08 03:47:14 +02:00
try_files $uri $uri/;
}
location __PATH__/favicon.ico {
# Path to source
2023-04-27 22:55:37 +02:00
alias __INSTALL_DIR__/frontend/dist/assets/branding/images/favicon/favicon.ico ;
2022-04-08 03:47:14 +02:00
try_files $uri $uri/;
}
location __PATH__/ {
uwsgi_pass unix:///tmp/uwsgi-__APP__-web.socket;
include uwsgi_params;
uwsgi_param SCRIPT_NAME '';
2022-04-06 20:56:59 +02:00
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}