Files
srv-pub/cfg/ngx/gt.op.fo.conf

25 lines
698 B
Plaintext
Raw Permalink Normal View History

2025-12-09 19:41:57 -05:00
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# configuration of gt.op.fo / frode klevstul / dec 2025
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# gt.op.fo ➔ gi.op.fo (http)
server {
listen 80;
server_name gt.op.fo;
return 301 https://gi.op.fo$request_uri;
}
# gt.op.fo ➔ gi.op.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 gt.op.fo;
return 301 https://gi.op.fo$request_uri;
}