Page MenuHomeDevCentral

D4134.diff
No OneTemporary

D4134.diff

diff --git a/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/infra.conf b/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/infra.conf
--- a/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/infra.conf
+++ b/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/infra.conf
@@ -46,15 +46,11 @@
return 302 https://infra.nasqueron.org/servers-log/;
}
- location = /cd {
+ location ~ ^/cd(?:/|/dashboard)?$ {
return 302 https://infra.nasqueron.org/cd/dashboard/;
}
- location = /cd/ {
- return 302 https://infra.nasqueron.org/cd/dashboard/;
- }
-
- location /cd/dashboard {
+ location /cd/dashboard/ {
rewrite ^/cd/dashboard/?(.*)$ /$1 break;
proxy_pass http://tommy_cd;

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 23, 01:20 (20 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3942173
Default Alt Text
D4134.diff (767 B)

Event Timeline