From e61b4083b0ffe4f2e254b62b65db33152cb4df81 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Tue, 28 Jun 2022 05:10:22 +0400 Subject: [PATCH] Now that paths are fixed in a program, here could be just a / location. --- configs/nginx.conf | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/configs/nginx.conf b/configs/nginx.conf index 56f8d4c..9e66cb9 100644 --- a/configs/nginx.conf +++ b/configs/nginx.conf @@ -9,6 +9,7 @@ server { access_log /var/log/nginx/dwelling/files.log main if=$nolog; + ssl_certificate /etc/letsencrypt/live/arav.top/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/arav.top/privkey.pem; @@ -22,7 +23,7 @@ server { location / { - proxy_pass http://unix:/var/run/dwelling-files/f.sock/index/; + proxy_pass http://unix:/var/run/dwelling-files/f.sock; proxy_set_header X-Client-Timezone "$gi2_location_tz"; proxy_set_header Host $host; @@ -30,11 +31,6 @@ server { proxy_set_header X-Real-IP $remote_addr; } - location /assets/ { - proxy_pass http://unix:/var/run/dwelling-files/f.sock/assets/; - - } - location /file/ { alias /srv/ftp/;