autoindex/configs/nginx_include.conf
2019-03-08 18:46:14 +03:00

16 lines
297 B
Plaintext

location @drop_app {
proxy_pass http://unix:/tmp/drop.sock;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
}
location /~static/ {
alias /srv/apps/drop/~static;
}
location / {
try_files $uri @drop_app;
}
include /etc/nginx/letsencrypt-serv.conf;