Nginx-Configurations/http.d/internal.shad.moe

33 lines
941 B
Text
Raw Permalink Normal View History

2024-11-04 11:09:00 -06:00
server {
2024-11-04 13:52:16 -06:00
server_name internal.shad.moe www.internal.shad.moe;
ssl_certificate /etc/letsencrypt/live/internal.shad.moe/fullchain.pem;
2024-11-04 11:09:00 -06:00
ssl_certificate_key /etc/letsencrypt/live/internal.shad.moe/privkey.pem;
2024-11-04 13:52:16 -06:00
ssl_trusted_certificate /etc/letsencrypt/live/internal.shad.moe/fullchain.pem;
include snippets/global/common-ssl.conf;
include snippets/global/common-headers.conf;
2024-11-04 11:09:00 -06:00
root /var/www/internal-page-wall;
location / {
index index.htm index.html;
}
2024-11-04 13:52:16 -06:00
include snippets/global/errors/http-cat-error-pages.conf;
2024-11-04 11:09:00 -06:00
}
server {
2024-11-04 13:52:16 -06:00
server_name *.internal.shad.moe;
ssl_certificate /etc/letsencrypt/live/internal.shad.moe/fullchain.pem;
2024-11-04 11:09:00 -06:00
ssl_certificate_key /etc/letsencrypt/live/internal.shad.moe/privkey.pem;
2024-11-04 13:52:16 -06:00
ssl_trusted_certificate /etc/letsencrypt/live/internal.shad.moe/fullchain.pem;
include snippets/global/common-ssl.conf;
2024-11-04 11:09:00 -06:00
return 302 https://internal.shad.moe;
2024-11-04 13:52:16 -06:00
}