forked from exozyme/nginx
Add new file
This commit is contained in:
parent
5716ab58ed
commit
d868d38aaa
1 changed files with 20 additions and 0 deletions
20
ta180m.conf
Normal file
20
ta180m.conf
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue