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.
This commit is contained in:
committer@t470p
2026-04-22 07:15:45 -05:00
parent d546d1a7f1
commit 188215f774
3 changed files with 96 additions and 72 deletions
+24
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;
}