update deploy scripts with metrics

update xaibox to be single image
This commit is contained in:
2018-08-20 21:23:29 -04:00
parent 1e4a882f8d
commit 1cd5efe697
14 changed files with 84 additions and 16 deletions

View File

@@ -1,24 +0,0 @@
proxy_cache_path /data/nginx/cache/jenkins levels=1:2 keys_zone=jenkins:10m max_size=10g
inactive=60m use_temp_path=off;
# jenkins.xai-corp.net
server {
listen 443 ssl;
server_name jenkins.xai-corp.net;
ssl_certificate /etc/letsencrypt/live/xai-corp.net/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/xai-corp.net/privkey.pem;
#Strict-Transport-Security: max-age=15768000
add_header Strict-Transport-Security "max-age=600; includeSubDomains" always;
location / {
proxy_set_header Host $host:$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;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://dkhost.xai-corp.net:8080;
}
}