You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
340 B

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