autoindex/configs/nginx_include.conf
2021-04-16 01:16:54 +03:00

18 lines
353 B
Plaintext

listen 8080;
access_log /srv/apps/drop/logs/access.log;
error_log /srv/apps/drop/logs/error.log;
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;
}