Root repository and issue tracker for Monarch-Pass.net services, except Glitch City Laboratories and Infinitypedia
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
520 B

server {
listen 80;
listen [::]:80;
server_name @SERVER_NAME@;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
listen [::]:443 ssl;
client_max_body_size 100G;
server_name @SERVER_NAME@;
access_log /var/log/nginx/@SERVER_NAME@/access.log;
error_log /var/log/nginx/@SERVER_NAME@/error.log;
location /.well-known/ {
root /var/www/html/;
try_files $uri $uri/ =404;
}
location / {
proxy_pass http://127.0.0.1:@PORT@/;
}
}