Update UAT env to new domain
This commit is contained in:
parent
71f525ba6c
commit
59d8baa74a
@ -7,14 +7,14 @@ metadata:
|
|||||||
data:
|
data:
|
||||||
nginx-config: |-
|
nginx-config: |-
|
||||||
server {
|
server {
|
||||||
server_name uat.atat.codes;
|
server_name uat.atat.code.mil;
|
||||||
listen 8442;
|
listen 8442;
|
||||||
listen [::]:8442 ipv6only=on;
|
listen [::]:8442 ipv6only=on;
|
||||||
if ($http_x_forwarded_proto != 'https') {
|
if ($http_x_forwarded_proto != 'https') {
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://$host$request_uri;
|
||||||
}
|
}
|
||||||
location /login-redirect {
|
location /login-redirect {
|
||||||
return 301 https://auth-uat.atat.codes$request_uri;
|
return 301 https://auth-uat.atat.code.mil$request_uri;
|
||||||
}
|
}
|
||||||
location /login-dev {
|
location /login-dev {
|
||||||
try_files $uri @appbasicauth;
|
try_files $uri @appbasicauth;
|
||||||
@ -34,7 +34,7 @@ data:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
server {
|
server {
|
||||||
server_name auth-uat.atat.codes;
|
server_name auth-uat.atat.code.mil;
|
||||||
listen 8443 ssl;
|
listen 8443 ssl;
|
||||||
listen [::]:8443 ssl ipv6only=on;
|
listen [::]:8443 ssl ipv6only=on;
|
||||||
# SSL server certificate and private key
|
# SSL server certificate and private key
|
||||||
@ -61,7 +61,7 @@ data:
|
|||||||
# Guard against HTTPS -> HTTP downgrade
|
# Guard against HTTPS -> HTTP downgrade
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; always";
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; always";
|
||||||
location / {
|
location / {
|
||||||
return 301 https://uat.atat.codes$request_uri;
|
return 301 https://uat.atat.code.mil$request_uri;
|
||||||
}
|
}
|
||||||
location /login-redirect {
|
location /login-redirect {
|
||||||
try_files $uri @app;
|
try_files $uri @app;
|
||||||
|
@ -168,11 +168,11 @@ metadata:
|
|||||||
nginx.ingress.kubernetes.io/proxy-body-size: 10m
|
nginx.ingress.kubernetes.io/proxy-body-size: 10m
|
||||||
spec:
|
spec:
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- secretName: atst-uat-ingress-tls
|
||||||
- uat.atat.codes
|
hosts:
|
||||||
secretName: atst-uat-ingress-tls
|
- uat.atat.code.mil
|
||||||
rules:
|
rules:
|
||||||
- host: uat.atat.codes
|
- host: uat.atat.code.mil
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
|
Loading…
x
Reference in New Issue
Block a user