30 lines
526 B
Plaintext
30 lines
526 B
Plaintext
server {
|
|
include sourcehut.conf;
|
|
include port80.conf;
|
|
server_name $metasrht;
|
|
}
|
|
|
|
server {
|
|
include sourcehut.conf;
|
|
include port443.conf;
|
|
server_name $metasrht;
|
|
|
|
ssl_certificate /etc/ssl/uacme/$metasrht/cert.pem;
|
|
ssl_certificate_key /etc/ssl/uacme/private/$metasrht/key.pem;
|
|
|
|
location / {
|
|
proxy_pass http://127.0.0.1:5000;
|
|
include web.conf;
|
|
}
|
|
|
|
location /query {
|
|
proxy_pass http://127.0.0.1:5100;
|
|
include graphql.conf;
|
|
}
|
|
|
|
location /static {
|
|
root /usr/lib/$python/site-packages/metasrht;
|
|
expires 30d;
|
|
}
|
|
}
|