mirror of
https://github.com/UiO-Gaming/drift.git
synced 2026-11-05 13:56:46 +01:00
keep path on redirect
This commit is contained in:
1 file changed
+6
-6
+6
-6
@@ -24,7 +24,7 @@ server {
|
|||||||
# Global config
|
# Global config
|
||||||
include global/global.conf;
|
include global/global.conf;
|
||||||
|
|
||||||
return 301 https://uiogaming.no;
|
return 301 https://uiogaming.no$request_uri;
|
||||||
|
|
||||||
|
|
||||||
listen 443 ssl; # managed by Certbot
|
listen 443 ssl; # managed by Certbot
|
||||||
@@ -276,7 +276,7 @@ server {
|
|||||||
# Global config
|
# Global config
|
||||||
include global/global.conf;
|
include global/global.conf;
|
||||||
|
|
||||||
return 301 https://statutes.uiogaming.no;
|
return 301 https://statutes.uiogaming.no$request_uri;
|
||||||
|
|
||||||
|
|
||||||
listen 443 ssl; # managed by Certbot
|
listen 443 ssl; # managed by Certbot
|
||||||
@@ -292,7 +292,7 @@ server {
|
|||||||
# Global config
|
# Global config
|
||||||
include global/global.conf;
|
include global/global.conf;
|
||||||
|
|
||||||
return 301 https://statutes.uiogaming.no;
|
return 301 https://statutes.uiogaming.no$request_uri;
|
||||||
|
|
||||||
|
|
||||||
listen 443 ssl; # managed by Certbot
|
listen 443 ssl; # managed by Certbot
|
||||||
@@ -325,7 +325,7 @@ server {
|
|||||||
# Global config
|
# Global config
|
||||||
include global/global.conf;
|
include global/global.conf;
|
||||||
|
|
||||||
return 301 https://innmelding.uiogaming.no;
|
return 301 https://innmelding.uiogaming.no$request_uri;
|
||||||
|
|
||||||
|
|
||||||
listen 443 ssl; # managed by Certbot
|
listen 443 ssl; # managed by Certbot
|
||||||
@@ -357,7 +357,7 @@ server {
|
|||||||
# Global config
|
# Global config
|
||||||
include global/global.conf;
|
include global/global.conf;
|
||||||
|
|
||||||
return 301 https://klage.uiogaming.no;
|
return 301 https://klage.uiogaming.no$request_uri;
|
||||||
|
|
||||||
|
|
||||||
listen 443 ssl; # managed by Certbot
|
listen 443 ssl; # managed by Certbot
|
||||||
@@ -546,7 +546,7 @@ server {
|
|||||||
# Global config
|
# Global config
|
||||||
include global/global.conf;
|
include global/global.conf;
|
||||||
|
|
||||||
return 301 https://vedtekter.uiogaming.no;
|
return 301 https://vedtekter.uiogaming.no$request_uri;
|
||||||
|
|
||||||
|
|
||||||
listen 443 ssl; # managed by Certbot
|
listen 443 ssl; # managed by Certbot
|
||||||
|
|||||||
Reference in new issue
Block a user