sr.ht-nginx/dispatch.sr.ht.conf

23 lines
413 B
Plaintext

server {
server_name $dispatchsrht;
include port80.conf;
}
server {
server_name $dispatchsrht;
include port443.conf;
ssl_certificate /etc/ssl/uacme/$dispatchsrht/cert.pem;
ssl_certificate_key /etc/ssl/uacme/private/$dispatchsrht/key.pem;
location / {
proxy_pass http://127.0.0.1:5005;
include web.conf;
}
location /static {
root /usr/lib/$python/site-packages/dispatchsrht;
expires 30d;
}
}