server { server_name internal.shad.moe www.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_trusted_certificate /etc/letsencrypt/live/internal.shad.moe/fullchain.pem; include snippets/global/common-ssl.conf; include snippets/global/common-headers.conf; root /var/www/internal-page-wall; location / { index index.htm index.html; } include snippets/global/errors/http-cat-error-pages.conf; } server { 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_trusted_certificate /etc/letsencrypt/live/internal.shad.moe/fullchain.pem; include snippets/global/common-ssl.conf; return 302 https://internal.shad.moe; }