diff --git a/cfg/ngx/obeyauthority.com.conf b/cfg/ngx/obeyauthority.com.conf new file mode 100644 index 0000000..a8db987 --- /dev/null +++ b/cfg/ngx/obeyauthority.com.conf @@ -0,0 +1,27 @@ +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# configuration of obeyauthority.com / frode klevstul / may 2026 +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +server { + listen 80; + server_name + obeyauthority.com *.obeyauthority.com + ; + return 301 https://sc.op.fo/ose; +} + +server { + listen 443 ssl; + listen [::]:443 ssl; + http2 on; + + ssl_certificate /etc/nginx/acme.sh/obeyauthority.com/fullchain.pem; + ssl_certificate_key /etc/nginx/acme.sh/obeyauthority.com/key.pem; + ssl_trusted_certificate /etc/nginx/acme.sh/obeyauthority.com/cert.pem; + + server_name + obeyauthority.com *.obeyauthority.com + ; + + return 301 https://sc.op.fo/ose; +}