Files
srv-pub/cfg/ngx/wa.fo.conf
T

25 lines
683 B
Plaintext
Raw Normal View History

2025-10-29 03:01:59 -05:00
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2026-04-22 07:15:45 -05:00
# configuration of wa.fo / frode klevstul / apr 2026
2025-10-29 03:01:59 -05:00
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2026-04-22 07:15:45 -05:00
# sc.op.fo ➔ wa.fo (http)
2025-10-30 07:12:27 -05:00
server {
listen 80;
2025-11-02 06:07:08 -05:00
server_name wa.fo;
2026-04-22 07:15:45 -05:00
return 301 https://sc.op.fo$request_uri;
2025-10-30 07:12:27 -05:00
}
2026-04-22 07:15:45 -05:00
# wa.fo ➔ sc.op.fo (https)
2025-10-30 07:12:27 -05:00
server {
2025-10-30 07:13:10 -05:00
listen 443 ssl;
listen [::]:443 ssl;
http2 on;
2025-10-30 07:12:27 -05:00
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;
2025-10-30 06:54:08 -05:00
server_name wa.fo;
2026-04-22 07:15:45 -05:00
return 301 https://sc.op.fo$request_uri;
2025-10-29 03:01:59 -05:00
}