From 6bebdd7e57d2b63d1c7e0f86d96cc3689b1ea2b1 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 12 Apr 2022 19:35:10 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 20f3b08..5556e83 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,9 +1,6 @@ #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; location __PATH__/webdav { - # Path to source - alias __FINALPATH__/ ; - uwsgi_pass unix:///tmp/uwsgi-__APP__-webdav.socket; include uwsgi_params; uwsgi_param SCRIPT_NAME ''; @@ -11,26 +8,23 @@ location __PATH__/webdav { location __PATH__/dav { - # Path to source - alias __FINALPATH__/ ; - uwsgi_pass unix:///tmp/uwsgi-__APP__-caldav.socket; include uwsgi_params; uwsgi_param SCRIPT_NAME ''; } -location __PATH__/assets { +location __PATH__/assets/ { # Path to source - alias __FINALPATH__/frontend/dist/assets ; + alias __FINALPATH__/frontend/dist/assets/ ; try_files $uri $uri/; } -location __PATH__/app { +location __PATH__/app/ { # Path to source - alias __FINALPATH__/frontend/dist/app ; + alias __FINALPATH__/frontend/dist/app/ ; try_files $uri $uri/; } @@ -45,9 +39,6 @@ location __PATH__/favicon.ico { location __PATH__/ { - # Path to source - alias __FINALPATH__/ ; - uwsgi_pass unix:///tmp/uwsgi-__APP__-web.socket; include uwsgi_params; uwsgi_param SCRIPT_NAME '';