File tree Expand file tree Collapse file tree
runnable-domain-proxy/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 status.conf: |
77 server {
88 listen 80;
9- listen [::]:80;
10- server_name localhost;
9+ server_name status.runnable.io;
1110
1211 location /nginx_status {
1312 access_log off;
@@ -18,15 +17,15 @@ data:
1817 user-pixel.conf: |
1918 server {
2019 listen 80;
21- server_name blue.runnableapp.com ;
20+ server_name blue.runnable.io ;
2221 location / {
2322 return 404;
2423 }
2524 }
2625
2726 server {
2827 listen 443 ssl;
29- server_name blue.runnableapp.com ;
28+ server_name blue.runnable.io ;
3029 gzip off;
3130
3231 ssl on;
4847 resolver_timeout 5s;
4948
5049 location = /pixel.gif {
51- add_header Set-Cookie "isModerating=1; Domain=.runnableapp.com ; Path=/; HttpOnly;";
50+ add_header Set-Cookie "isModerating=1; Domain=.runnable.io ; Path=/; HttpOnly;";
5251 empty_gif;
5352 }
5453
Original file line number Diff line number Diff line change 66 status.conf: |
77 server {
88 listen 80;
9- listen [::]:80;
10- server_name localhost;
9+ server_name status.runnableapp.com;
1110
1211 location /nginx_status {
1312 access_log off;
1413 stub_status on;
1514 }
1615 }
1716
17+
1818 navi.conf: |
1919 map $http_upgrade $connection_upgrade {
2020 default upgrade;
Original file line number Diff line number Diff line change 66 status.conf: |
77 server {
88 listen 80;
9- listen [::]:80;
10- server_name localhost;
9+ server_name status.runnable-gamma.com;
1110
1211 location /nginx_status {
1312 access_log off;
@@ -18,15 +17,15 @@ data:
1817 user-pixel.conf: |
1918 server {
2019 listen 80;
21- server_name blue.runnablecloud .com;
20+ server_name blue.runnable-gamma .com;
2221 location / {
2322 return 404;
2423 }
2524 }
2625
2726 server {
2827 listen 443 ssl;
29- server_name blue.runnablecloud .com;
28+ server_name blue.runnable-gamma .com;
3029 gzip off;
3130
3231 ssl on;
4847 resolver_timeout 5s;
4948
5049 location = /pixel.gif {
51- add_header Set-Cookie "isModerating=1; Domain=.runnablecloud .com; Path=/; HttpOnly;";
50+ add_header Set-Cookie "isModerating=1; Domain=.runnable-gamma .com; Path=/; HttpOnly;";
5251 empty_gif;
5352 }
5453
Original file line number Diff line number Diff line change 66 status.conf: |
77 server {
88 listen 80;
9- listen [::]:80;
10- server_name localhost;
9+ server_name status.runnablecloud.com;
1110
1211 location /nginx_status {
1312 access_log off;
1413 stub_status on;
1514 }
1615 }
1716
17+
1818 navi.conf: |
1919 map $http_upgrade $connection_upgrade {
2020 default upgrade;
Original file line number Diff line number Diff line change 2727 src : proxy-nginx.conf
2828 dest : " {{ config_maps_path }}/{{ name }}-base-config"
2929
30- - name : create api template
30+ - name : create navi template
3131 tags : [ configure_proxy, configure_files ]
3232 template :
3333 src : navi.tmpl
Original file line number Diff line number Diff line change 66 status.conf : |
77 server {
88 listen 80;
9- listen [::]:80;
10- server_name localhost;
9+ server_name status. {{ user_content_domain }};
1110
1211 location /nginx_status {
1312 access_log off;
1413 stub_status on;
1514 }
1615 }
1716
17+
1818 navi.conf : |
1919 map $http_upgrade $connection_upgrade {
2020 default upgrade;
Original file line number Diff line number Diff line change 66 status.conf : |
77 server {
88 listen 80;
9- listen [::]:80;
10- server_name localhost;
9+ server_name status. {{ domain }};
1110
1211 location /nginx_status {
1312 access_log off;
@@ -18,15 +17,15 @@ data:
1817 user-pixel.conf : |
1918 server {
2019 listen 80;
21- server_name blue. {{ user_content_domain }};
20+ server_name blue. {{ domain }};
2221 location / {
2322 return 404;
2423 }
2524 }
2625
2726 server {
2827 listen 443 ssl;
29- server_name blue. {{ user_content_domain }};
28+ server_name blue. {{ domain }};
3029 gzip off;
3130
3231 ssl on;
4847 resolver_timeout 5s;
4948
5049 location = /pixel.gif {
51- add_header Set-Cookie " isModerating=1; Domain=.{{ user_content_domain }}; Path=/; HttpOnly;" ;
50+ add_header Set-Cookie " isModerating=1; Domain=.{{ domain }}; Path=/; HttpOnly;" ;
5251 empty_gif;
5352 }
5453
You can’t perform that action at this time.
0 commit comments