Alberto Donato has proposed merging
~ack/maas:1993618-region-nginx-no-absolute-redir into maas:master.
Commit message:
LP:1993618 use relative redirects from nginx
Requested reviews:
MAAS Maintainers (maas-maintainers)
For more details, see:
https://code.launchpad.net/~ack/maas/+git/maas/+merge/435452
--
Your team MAAS Committers is subscribed to branch maas:master.
diff --git a/src/maasserver/templates/http/regiond.nginx.conf.template b/src/maasserver/templates/http/regiond.nginx.conf.template
index b45a7ff..650e1b4 100644
--- a/src/maasserver/templates/http/regiond.nginx.conf.template
+++ b/src/maasserver/templates/http/regiond.nginx.conf.template
@@ -30,6 +30,8 @@ server {
listen {{http_port}};
{{endif}}
+ absolute_redirect off;
+
location = / {
return 301 /MAAS/r/;
}
--
Mailing list: https://launchpad.net/~sts-sponsors
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sts-sponsors
More help : https://help.launchpad.net/ListHelp