You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: router/templates/nginx.conf
+8-11Lines changed: 8 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -50,8 +50,7 @@ http {
50
50
51
51
server{
52
52
server_name~^deis\.(?<domain>.+)$;
53
-
server_name_in_redirect off;
54
-
port_in_redirect off;
53
+
include deis.conf;
55
54
56
55
location / {
57
56
proxy_buffering off;
@@ -75,8 +74,7 @@ http {
75
74
76
75
server{
77
76
server_name~^deis-store\.(?<domain>.+)$;
78
-
server_name_in_redirect off;
79
-
port_in_redirect off;
77
+
include deis.conf;
80
78
81
79
location / {
82
80
proxy_buffering off;
@@ -101,25 +99,24 @@ http {
101
99
102
100
server{
103
101
server_name~^{{ Base $service.Key }}\.(?<domain>.+)${{ range $app_domains := $domains }}{{ if eq (Base $service.Key) (Base $app_domains.Key) }} {{ $app_domains.Value }}{{ end }}{{ end }};
0 commit comments