Skip to content

Commit fe44f97

Browse files
authored
Merge branch 'master' into SAN-6926-starlord-3
2 parents 50ccb43 + 79d9e90 commit fe44f97

7 files changed

Lines changed: 19 additions & 22 deletions

File tree

ansible/k8/delta/ingress-proxy/configMaps/ingress-proxy-sites-enabled-config

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ data:
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;
@@ -48,7 +47,7 @@ data:
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

ansible/k8/delta/navi-proxy/configMaps/navi-proxy-navi-config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ data:
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;

ansible/k8/gamma/ingress-proxy/configMaps/ingress-proxy-sites-enabled-config

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ data:
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;
@@ -48,7 +47,7 @@ data:
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

ansible/k8/gamma/navi-proxy/configMaps/navi-proxy-navi-config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ data:
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;

ansible/roles/content-domain-proxy/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
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

ansible/roles/content-domain-proxy/templates/navi.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ data:
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;

ansible/roles/runnable-domain-proxy/templates/sites-enabled.tmpl

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ data:
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;
@@ -48,7 +47,7 @@ data:
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

0 commit comments

Comments
 (0)