1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pytition_ynh.git synced 2024-09-03 20:16:08 +02:00
pytition_ynh/conf/nginx.conf

20 lines
417 B
Nginx Configuration File
Raw Normal View History

2018-01-03 23:24:48 +01:00
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
2022-04-05 16:15:54 +02:00
location __PATH__/static/ {
2023-04-26 17:44:04 +02:00
alias __INSTALL_DIR__/static/;
2022-04-05 16:15:54 +02:00
}
2023-04-26 17:51:32 +02:00
2022-04-05 16:15:54 +02:00
location __PATH__/mediaroot/ {
2023-04-26 17:44:04 +02:00
alias __INSTALL_DIR__/mediaroot/;
2022-04-05 16:15:54 +02:00
}
2023-04-26 17:51:32 +02:00
location __PATH__/ {
2022-07-29 23:30:24 +02:00
include uwsgi_params;
uwsgi_pass unix:///run/__APP__/app.socket;
2014-10-20 18:55:53 +02:00
2022-07-29 23:30:24 +02:00
uwsgi_read_timeout 180;
uwsgi_send_timeout 180;
2014-10-20 18:55:53 +02:00
2022-07-29 23:30:24 +02:00
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
2014-10-20 18:55:53 +02:00
}