autoindex/configs/nginx_include.conf

18 lines
353 B
Plaintext
Raw Normal View History

2021-04-15 22:16:54 +00:00
listen 8080;
2019-03-08 16:03:35 +00:00
access_log /srv/apps/drop/logs/access.log;
error_log /srv/apps/drop/logs/error.log;
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/ {
2019-03-08 16:06:42 +00:00
alias /srv/apps/drop/~static/;
2019-03-08 15:44:50 +00:00
}
location / {
try_files $uri @drop_app;
}