26 lines
499 B
Plaintext
26 lines
499 B
Plaintext
server {
|
|
include sourcehut.conf;
|
|
include port80.conf;
|
|
server_name $pastesrht pasta.sr.ht;
|
|
}
|
|
|
|
server {
|
|
include sourcehut.conf;
|
|
include port443.conf;
|
|
server_name $pastesrht pasta.sr.ht;
|
|
|
|
ssl_certificate /etc/ssl/uacme/$pastesrht/cert.pem;
|
|
ssl_certificate_key /etc/ssl/uacme/private/$pastesrht/key.pem;
|
|
client_max_body_size 10M;
|
|
|
|
location / {
|
|
proxy_pass http://127.0.0.1:5011;
|
|
include web.conf;
|
|
}
|
|
|
|
location /static {
|
|
root /usr/lib/$python/site-packages/pastesrht;
|
|
expires 30d;
|
|
}
|
|
}
|