nginx/iacore.conf

22 lines
420 B
Text
Raw Normal View History

2022-12-16 19:16:22 +00:00
server {
listen 80 default_server;
listen [::]:80 default_server;
location / {
return 301 https://$host$request_uri;
}
}
server {
listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
server_name www.1a-insec.net iacore.exozy.me;
root /srv/http/pages/iacore;
index index.html;
location / {
try_files $uri $uri.html $uri/ =404;
}
}