u
This commit is contained in:
@@ -2,12 +2,11 @@
|
||||
# configuration of wa.fo / frode klevstul / oct 2025
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
# enforce ssl and bare domain (http)
|
||||
# ($server_name will return the first value given)
|
||||
# http ➔ https
|
||||
server {
|
||||
listen 80;
|
||||
server_name op.fo www.op.fo;
|
||||
return 301 https://$server_name$request_uri;
|
||||
server_name wa.fo;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
# * ➔ bare domain (https)
|
||||
@@ -24,13 +23,6 @@ server {
|
||||
return 301 $scheme://wa.fo$request_uri;
|
||||
}
|
||||
|
||||
# http to https
|
||||
server {
|
||||
listen 80;
|
||||
server_name wa.fo;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
# upstream configuration for postgrest (used as reversed proxy)
|
||||
upstream postgrest {
|
||||
server localhost:3000;
|
||||
|
||||
Reference in New Issue
Block a user