fix build and deploy of sslproxy

This commit is contained in:
2020-06-06 01:25:44 -04:00
parent 7175a4fb2d
commit 4439ae493d
15 changed files with 98 additions and 25 deletions

View File

@@ -19,14 +19,14 @@ server {
# this is the internal Docker DNS, cache only for 30s
resolver 127.0.0.11 valid=5s;
set $backend http://xaibox.xai-corp.net:8083;
set $backend http://xaibox_app;
#Strict-Transport-Security: max-age=15768000
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;
location / {
proxy_set_header Connection $http_connection;
proxy_set_header Host $host:$server_port;
proxy_set_header Host xaibox.xai-corp.net:$server_port;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;