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