site_fursona_refs/refs-sfner-com-http.conf

27 lines
457 B
Plaintext
Raw Permalink Normal View History

2019-12-28 01:00:26 +00:00
server {
listen 80;
listen [::]:80;
server_name refs.sfner.com;
include /etc/nginx/snippets/acme.conf;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name refs.sfner.com;
root /var/www/html;
location / {
alias /var/www/refs_sfner/;
2020-05-29 02:56:13 +00:00
try_files $uri $uri.html $uri/index.html;
2019-12-28 01:00:26 +00:00
}
include /etc/nginx/snippets/tlsgzip.conf;
}