parent
4fcf7b290e
commit
746ec042d8
@ -0,0 +1,15 @@
|
|||||||
|
location @drop_app {
|
||||||
|
proxy_pass 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;
|
||||||
|
}
|
||||||
|
|
||||||
|
include /etc/nginx/letsencrypt-serv.conf;
|
Loading…
Reference in new issue