188215f774
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.
25 lines
683 B
Plaintext
25 lines
683 B
Plaintext
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# configuration of wa.fo / frode klevstul / apr 2026
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
|
|
# sc.op.fo ➔ wa.fo (http)
|
|
server {
|
|
listen 80;
|
|
server_name wa.fo;
|
|
return 301 https://sc.op.fo$request_uri;
|
|
}
|
|
|
|
# wa.fo ➔ sc.op.fo (https)
|
|
server {
|
|
listen 443 ssl;
|
|
listen [::]:443 ssl;
|
|
http2 on;
|
|
|
|
ssl_certificate /etc/nginx/acme.sh/wa.fo/fullchain.pem;
|
|
ssl_certificate_key /etc/nginx/acme.sh/wa.fo/key.pem;
|
|
ssl_trusted_certificate /etc/nginx/acme.sh/wa.fo/cert.pem;
|
|
|
|
server_name wa.fo;
|
|
return 301 https://sc.op.fo$request_uri;
|
|
}
|