Add iacore.conf

This commit is contained in:
iacore 2022-12-16 19:16:22 +00:00
parent 08fd0d1261
commit 885052deb6
Signed by: iacore
GPG key ID: ED0D424AE4406330

21
iacore.conf Normal file
View file

@ -0,0 +1,21 @@
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;
}
}