Merge pull request 'Add drgns-space.conf' (#17) from dragongoose/nginx:main into main

Reviewed-on: exozyme/nginx#17
Reviewed-by: Anthony Wang <a@noreply.git.exozy.me>
This commit is contained in:
Anthony Wang 2023-11-16 02:09:08 +00:00
commit 127c8f5ecb
Signed by: exogit
GPG key ID: 1DDC6BC38786C595

15
drgns-space.conf Normal file
View file

@ -0,0 +1,15 @@
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name drgns.space *.drgns.space;
ssl_certificate /etc/letsencrypt/live/drgns.space/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/drgns.space/privkey.pem;
root /srv/http/pages/drngs-downtime;
index index.html;
location / {
try_files $uri $uri.html $uri/ =404;
}
}