wa.fo wip

This commit is contained in:
fro
2025-10-30 06:54:08 -05:00
parent 41ea31a9ba
commit 08e3550e9a

View File

@@ -2,10 +2,10 @@
# configuration of wa.fo / frode klevstul / oct 2025 # configuration of wa.fo / frode klevstul / oct 2025
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# sc.wa.fo & fw.wa.fo ➔ wa.fo # sc.op.fo ➔ wa.fo
server { server {
listen 80; listen 80;
server_name sc.wa.fo fw.wa.fo; server_name sc.op.fo;
return 301 https://wa.fo$request_uri; return 301 https://wa.fo$request_uri;
} }
@@ -18,7 +18,7 @@ server {
ssl_certificate_key /etc/nginx/acme.sh/wa.fo/key.pem; ssl_certificate_key /etc/nginx/acme.sh/wa.fo/key.pem;
ssl_trusted_certificate /etc/nginx/acme.sh/wa.fo/cert.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; return 301 https://wa.fo$request_uri;
} }
@@ -46,9 +46,9 @@ server {
add_header Strict-Transport-Security "max-age=63072000" always; add_header Strict-Transport-Security "max-age=63072000" always;
root /var/www/fw.wa.fo; root /var/www/wa.fo;
index index.html; index index.html;
server_name fw.wa.fo; server_name wa.fo;
location @myownredirect { location @myownredirect {
return 302 /; return 302 /;