diff --git a/cfg/ngx/wa.fo.conf b/cfg/ngx/wa.fo.conf index 7907808..5c0782b 100644 --- a/cfg/ngx/wa.fo.conf +++ b/cfg/ngx/wa.fo.conf @@ -2,10 +2,10 @@ # configuration of wa.fo / frode klevstul / oct 2025 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# sc.wa.fo & fw.wa.fo ➔ wa.fo +# sc.op.fo ➔ wa.fo server { listen 80; - server_name sc.wa.fo fw.wa.fo; + server_name sc.op.fo; return 301 https://wa.fo$request_uri; } @@ -18,7 +18,7 @@ server { ssl_certificate_key /etc/nginx/acme.sh/wa.fo/key.pem; ssl_trusted_certificate /etc/nginx/acme.sh/wa.fo/cert.pem; - server_name sc.wa.fo fw.wa.fo; + server_name sc.op.fo; return 301 https://wa.fo$request_uri; } @@ -46,9 +46,9 @@ server { add_header Strict-Transport-Security "max-age=63072000" always; - root /var/www/fw.wa.fo; + root /var/www/wa.fo; index index.html; - server_name fw.wa.fo; + server_name wa.fo; location @myownredirect { return 302 /;