+ gt.op.fo
This commit is contained in:
24
cfg/ngx/gt.op.fo conf
Normal file
24
cfg/ngx/gt.op.fo conf
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
# 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;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user