+/ moved sc.op.fo to own cfg file

This commit is contained in:
fro
2025-11-02 06:00:28 -05:00
parent 3032b01843
commit 0575f483d5
2 changed files with 24 additions and 25 deletions

24
cfg/ngx/sc.op.fo.conf Normal file
View File

@@ -0,0 +1,24 @@
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# configuration of sc.op.fo / frode klevstul / oct 2025
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# sc.op.fo ➔ wa.fo (http)
server {
listen 80;
server_name sc.op.fo;
return 301 https://wa.fo$request_uri;
}
# sc.op.fo ➔ wa.fo (https)
server {
listen 443 ssl;
listen [::]:443 ssl;
http2 on;
ssl_certificate /etc/nginx/acme.sh/op.fo/fullchain.pem;
ssl_certificate_key /etc/nginx/acme.sh/op.fo/key.pem;
ssl_trusted_certificate /etc/nginx/acme.sh/op.fo/cert.pem;
server_name sc.op.fo;
return 301 https://wa.fo$request_uri;
}