From d27a454ea1dc167bb69e03277382289e1619bd38 Mon Sep 17 00:00:00 2001 From: fro Date: Sun, 2 Nov 2025 14:14:12 -0500 Subject: [PATCH] + antijanteboka.no.conf --- cfg/ngx/antijanteboka.no.conf | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 cfg/ngx/antijanteboka.no.conf 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; +}