sr.ht-nginx/man.sr.ht.conf

24 lines
416 B
Plaintext

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