fix launch script bugs

This commit is contained in:
2018-12-16 10:42:22 -05:00
parent 5c6228b6d6
commit 2ac287d4de
4 changed files with 16 additions and 11 deletions

View File

@@ -2,14 +2,13 @@ proxy_cache_path /data/nginx/cache/gitea levels=1:2 keys_zone=gitea:10m max_size
inactive=60m use_temp_path=off;
upstream gitea_upstream {
server tasks.gitea_app:10080;
server dkhost.xai-corp.net:10080 backup;
server dkhost.xai-corp.net:10080;
}
# git.xai-corp.net
server {
listen 443 ssl ipv6only=off;
listen 443 ipv6only=off;
listen [::]:43 ipv6only=on;
server_name git.xai-corp.net;
ssl_certificate /etc/letsencrypt/live/xai-corp.net/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/xai-corp.net/privkey.pem;