updates to deploy testing and certbot commands

This commit is contained in:
2020-06-05 08:02:45 -04:00
parent 857bf699de
commit 7175a4fb2d
14 changed files with 132 additions and 41 deletions

View File

@@ -9,7 +9,7 @@ server {
# this is the internal Docker DNS, cache only for 30s
resolver 127.0.0.11 valid=5s;
set $backend http://gitea_app:10080;
set $backend http://gitea_app:3000;
#set $backend http://dkhost.xai-corp.net:10080;
ssl_certificate /etc/letsencrypt/live/xai-corp.net/fullchain.pem;

View File

@@ -1,12 +1,12 @@
# proxy for unsecured traffic for letsencrypt verification
server {
listen 80 default_server;
resolver 127.0.0.11 valid=30s;
resolver 127.0.0.11 valid=2s;
#server_name _
#server_name xai-corp.net
set $backend http://sslproxy_renew:80;
set $backend http://sslproxy_renew;
client_max_body_size 200m;

View File

@@ -19,7 +19,7 @@ server {
# this is the internal Docker DNS, cache only for 30s
resolver 127.0.0.11 valid=5s;
set $backend http://xaibox_app;
set $backend http://xaibox.xai-corp.net:8083;
#Strict-Transport-Security: max-age=15768000
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;