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/;