26 lines
466 B
Plaintext
26 lines
466 B
Plaintext
server {
|
|
include sourcehut.conf;
|
|
include port80.conf;
|
|
server_name $mansrht;
|
|
}
|
|
|
|
server {
|
|
include sourcehut.conf;
|
|
include port443.conf;
|
|
server_name $mansrht;
|
|
|
|
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;
|
|
}
|
|
}
|