Skip to content
Snippets Groups Projects
Commit 22cfac44 authored by Leonidas Spyropoulos's avatar Leonidas Spyropoulos
Browse files

Avoid needless regex on 301 rewrites


Closes: #278

Signed-off-by: default avatarLeonidas Spyropoulos <artafinde@gmail.com>
parent 207bee2a
No related branches found
No related tags found
1 merge request!353Avoid needless regex on 301 rewrites
......@@ -22,7 +22,7 @@ server {
include snippets/letsencrypt.conf;
location / {
rewrite ^(.*) https://{{ aurweb_domain }}$1 permanent;
return 301 https://$server_name$request_uri;
}
}
......
......@@ -10,7 +10,7 @@ server {
include snippets/letsencrypt.conf;
location / {
rewrite ^(.*) https://{{ fluxbb_domain }}$1 permanent;
return 301 https://$server_name$request_uri;
}
}
......
......@@ -19,7 +19,7 @@ server {
include snippets/letsencrypt.conf;
location / {
rewrite ^(.*) https://{{ hedgedoc_domain }}$1 permanent;
return 301 https://$server_name$request_uri;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment