Add capture '/git' (without a trailing slash) to rules
This commit is contained in:
@@ -44,12 +44,12 @@ http {
|
||||
return 301 http://miti.sh$request_uri;
|
||||
}
|
||||
|
||||
location ~ ^/git/(.*)$ {
|
||||
return 301 https://git.miti.sh/ccm/$1;
|
||||
location ~ ^/git/?(.*)$ {
|
||||
return 301 http://git.miti.sh/ccm/$1;
|
||||
}
|
||||
|
||||
location ~ ^/apps/(.*)$ {
|
||||
return 301 https://apps.miti.sh/$1;
|
||||
return 301 http://apps.miti.sh/$1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user