mirror of
https://github.com/YunoHost-Apps/tracim_ynh.git
synced 2024-10-01 13:34:52 +02:00
Update nginx.conf
This commit is contained in:
parent
91ec9488b5
commit
6bebdd7e57
1 changed files with 4 additions and 13 deletions
|
@ -1,9 +1,6 @@
|
||||||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||||
location __PATH__/webdav {
|
location __PATH__/webdav {
|
||||||
|
|
||||||
# Path to source
|
|
||||||
alias __FINALPATH__/ ;
|
|
||||||
|
|
||||||
uwsgi_pass unix:///tmp/uwsgi-__APP__-webdav.socket;
|
uwsgi_pass unix:///tmp/uwsgi-__APP__-webdav.socket;
|
||||||
include uwsgi_params;
|
include uwsgi_params;
|
||||||
uwsgi_param SCRIPT_NAME '';
|
uwsgi_param SCRIPT_NAME '';
|
||||||
|
@ -11,26 +8,23 @@ location __PATH__/webdav {
|
||||||
|
|
||||||
location __PATH__/dav {
|
location __PATH__/dav {
|
||||||
|
|
||||||
# Path to source
|
|
||||||
alias __FINALPATH__/ ;
|
|
||||||
|
|
||||||
uwsgi_pass unix:///tmp/uwsgi-__APP__-caldav.socket;
|
uwsgi_pass unix:///tmp/uwsgi-__APP__-caldav.socket;
|
||||||
include uwsgi_params;
|
include uwsgi_params;
|
||||||
uwsgi_param SCRIPT_NAME '';
|
uwsgi_param SCRIPT_NAME '';
|
||||||
}
|
}
|
||||||
|
|
||||||
location __PATH__/assets {
|
location __PATH__/assets/ {
|
||||||
|
|
||||||
# Path to source
|
# Path to source
|
||||||
alias __FINALPATH__/frontend/dist/assets ;
|
alias __FINALPATH__/frontend/dist/assets/ ;
|
||||||
|
|
||||||
try_files $uri $uri/;
|
try_files $uri $uri/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location __PATH__/app {
|
location __PATH__/app/ {
|
||||||
|
|
||||||
# Path to source
|
# Path to source
|
||||||
alias __FINALPATH__/frontend/dist/app ;
|
alias __FINALPATH__/frontend/dist/app/ ;
|
||||||
|
|
||||||
try_files $uri $uri/;
|
try_files $uri $uri/;
|
||||||
}
|
}
|
||||||
|
@ -45,9 +39,6 @@ location __PATH__/favicon.ico {
|
||||||
|
|
||||||
location __PATH__/ {
|
location __PATH__/ {
|
||||||
|
|
||||||
# Path to source
|
|
||||||
alias __FINALPATH__/ ;
|
|
||||||
|
|
||||||
uwsgi_pass unix:///tmp/uwsgi-__APP__-web.socket;
|
uwsgi_pass unix:///tmp/uwsgi-__APP__-web.socket;
|
||||||
include uwsgi_params;
|
include uwsgi_params;
|
||||||
uwsgi_param SCRIPT_NAME '';
|
uwsgi_param SCRIPT_NAME '';
|
||||||
|
|
Loading…
Reference in a new issue