diff --git a/cfg/ngx/antijanteboka.no.conf b/cfg/ngx/antijanteboka.no.conf new file mode 100644 index 0000000..32ee246 --- /dev/null +++ b/cfg/ngx/antijanteboka.no.conf @@ -0,0 +1,28 @@ +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# configuration of antijanteboka.no / frode klevstul / oct 2025 +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +server { + listen 80; + server_name + antijanteboka.no *.antijanteboka.no + ; + return 301 https://antijanteboka.com; +} + +server { + listen 443 ssl; + listen [::]:443 ssl; + http2 on; + + ssl_certificate /etc/nginx/acme.sh/antijanteboka.no/fullchain.pem; + ssl_certificate_key /etc/nginx/acme.sh/antijanteboka.no/key.pem; + ssl_trusted_certificate /etc/nginx/acme.sh/antijanteboka.no/cert.pem; + + server_name + antijanteboka.no *.antijanteboka.no + ; + + return 301 https://antijanteboka.com; +}