25 lines
698 B
Plaintext
25 lines
698 B
Plaintext
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||
|
|
# 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;
|
||
|
|
}
|