31 lines
554 B
Plaintext
31 lines
554 B
Plaintext
server {
|
|
include sourcehut.conf;
|
|
include port80.conf;
|
|
server_name $todosrht;
|
|
}
|
|
|
|
server {
|
|
include sourcehut.conf;
|
|
include port443.conf;
|
|
server_name $todosrht;
|
|
|
|
ssl_certificate /etc/ssl/uacme/$todosrht/cert.pem;
|
|
ssl_certificate_key /etc/ssl/uacme/private/$todosrht/key.pem;
|
|
client_max_body_size 100M;
|
|
|
|
location / {
|
|
proxy_pass http://127.0.0.1:5003;
|
|
include web.conf;
|
|
}
|
|
|
|
location /query {
|
|
proxy_pass http://127.0.0.1:5103;
|
|
include graphql.conf;
|
|
}
|
|
|
|
location /static {
|
|
root /usr/lib/$python/site-packages/todosrht;
|
|
expires 30d;
|
|
}
|
|
}
|