1
0
Fork 0
forked from exozyme/nginx

Add new file

This commit is contained in:
Anthony Wang 2021-05-22 14:54:16 -05:00
parent 5716ab58ed
commit d868d38aaa
Signed by untrusted user: a
GPG key ID: BC96B00AEC5F2D76

20
ta180m.conf Normal file
View file

@ -0,0 +1,20 @@
server {
listen 80 default_server;
server_name _;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name ta180m.exozy.me;
ssl_certificate /etc/letsencrypt/live/exozy.me/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/exozy.me/privkey.pem;
root /srv/http/ta180m.github.io;
index index.html;
location / {
try_files $uri $uri/ =404;
}
}