23 lines
715 B
Text
23 lines
715 B
Text
|
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;
|
||
|
}
|