File tree Expand file tree Collapse file tree 5 files changed +13
-4
lines changed Expand file tree Collapse file tree 5 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 88 server {
99 listen 80;
1010 server_name {{.Values.publicFqdn}};
11- return 301 $scheme://www.{{.Values.publicFqdn}}$request_uri;
11+ # return 301 $scheme://www.{{.Values.publicFqdn}}$request_uri;
12+ return 301 https://www.{{.Values.publicFqdn}}$request_uri;
1213 }
1314
1415 server {
1516 listen 80;
1617 server_name {{.Values.publicFqdn2}};
17- return 301 $scheme://www.{{.Values.publicFqdn2}}$request_uri;
18+ # return 301 $scheme://www.{{.Values.publicFqdn2}}$request_uri;
19+ return 301 https://www.{{.Values.publicFqdn2}}$request_uri;
1820 }
1921
2022 server {
2123 listen 80;
2224 server_name {{.Values.publicFqdn3}};
23- return 301 $scheme://www.{{.Values.publicFqdn3}}$request_uri;
25+ # return 301 $scheme://www.{{.Values.publicFqdn3}}$request_uri;
26+ return 301 https://www.{{.Values.publicFqdn3}}$request_uri;
2427 }
2528
2629 server {
2730 listen 80;
2831 server_name {{.Values.publicFqdn4}};
29- return 301 $scheme://www.{{.Values.publicFqdn4}}$request_uri;
32+ # return 301 $scheme://www.{{.Values.publicFqdn4}}$request_uri;
33+ return 301 https://www.{{.Values.publicFqdn4}}$request_uri;
3034 }
3135
3236 server {
Original file line number Diff line number Diff line change 8484 - type : RequestRedirect
8585 requestRedirect :
8686 scheme : https
87+ statusCode : 301
88+ hostname : {{Values.mainFqdn}}
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ publicFqdn: &fqdn cppal-dev.boost.cppalliance.org
3636publicFqdn2 : &fqdn2 cppal-dev.boost.org
3737publicFqdn3 : &fqdn3 cppal-dev2.boost.cppalliance.org
3838publicFqdn4 : &fqdn4 boost.org
39+ mainFqdn : www.cppal-dev.boost.cppalliance.org
3940
4041Env :
4142 - name : DJANGO_SETTINGS_MODULE
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ publicFqdn: &fqdn boost.cppalliance.org
3636publicFqdn2 : &fqdn2 boost.org
3737publicFqdn3 : &fqdn3 preview.boost.org
3838publicFqdn4 : &fqdn4 boost.io
39+ mainFqdn : www.boost.org
3940
4041Env :
4142 - name : DJANGO_SETTINGS_MODULE
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ publicFqdn: &fqdn stage.boost.cppalliance.org
3636publicFqdn2 : &fqdn2 stage.boost.org
3737publicFqdn3 : &fqdn3 stage2.boost.cppalliance.org
3838publicFqdn4 : &fqdn4 boost.io
39+ mainFqdn : www.stage.boost.org
3940
4041Env :
4142 - name : DJANGO_SETTINGS_MODULE
You can’t perform that action at this time.
0 commit comments