Index: modules/web/templates/global.conf.erb |
=================================================================== |
--- a/modules/web/templates/global.conf.erb |
+++ b/modules/web/templates/global.conf.erb |
@@ -15,13 +15,13 @@ |
location / |
{ |
- rewrite .* https://<%= @vhost %>/ redirect; |
+ rewrite .* https://<%= @vhost or @repository_host %>/ redirect; |
} |
<%- else %> |
location / |
{ |
- rewrite .* http://<%= @vhost %>/ redirect; |
+ rewrite .* http://<%= @vhost or @repository_host %>/ redirect; |
} |
<%- end %> |
} |