16 lines
297 B
Plaintext
16 lines
297 B
Plaintext
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;
|
|
}
|
|
|
|
include /etc/nginx/letsencrypt-serv.conf;
|