Files
committer@t470p 188215f774 shlink.io | wa.fo will point to sc.op.fo
start using shlink.io instead of own fwd solution. moving back to sc.op.fo as shortcut domain, as pikapod needs a subdomain (no root). wa.fo will no redirect traffic to sc.op.fo.
2026-04-22 07:15:45 -05:00

25 lines
686 B
Plaintext

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# 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;
}