autoindex/configs/nginx_include.conf

16 lines
297 B
Plaintext
Raw Normal View History

2019-03-08 15:44:50 +00:00
location @drop_app {
2019-03-08 15:46:14 +00:00
proxy_pass http://unix:/tmp/drop.sock;
2019-03-08 15:44:50 +00:00
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;