wa.fo wip
This commit is contained in:
@@ -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 /;
|
||||
|
||||
Reference in New Issue
Block a user