forked from exozyme/nginx
Add iacore.conf
This commit is contained in:
parent
08fd0d1261
commit
885052deb6
21
iacore.conf
Normal file
21
iacore.conf
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue