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

23 lines
715 B
Text
Raw Normal View History

2024-11-04 11:09:00 -06:00
server {
listen 443 ssl;
server_name internal.shad.moe;
ssl_certificate /etc/letsencrypt/live/internal.shad.moe/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/internal.shad.moe/privkey.pem;
#ssl_protocols TLSv1.2 TLSv1.3;
#ssl_ciphers HIGH:!aNULL:!MD5;
root /var/www/internal-page-wall;
location / {
index index.htm index.html;
}
}
server {
listen 443 ssl;
server_name *.internal.shad.moe;
ssl_certificate /etc/letsencrypt/live/internal.shad.moe/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/internal.shad.moe/privkey.pem;
return 302 https://internal.shad.moe;
}