update gitea Jenkins file
add Jenkinsfile to sslproxy and add metrics.xai-corp.net.conf
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
proxy_cache_path /data/nginx/cache/metrics levels=1:2 keys_zone=metrics:10m max_size=10g
|
||||
inactive=60m use_temp_path=off;
|
||||
|
||||
upstream metrics_upstream {
|
||||
server tasks.metrics_graphana:3001;
|
||||
|
||||
server metrics.xai-corp.net:3001 backup;
|
||||
server dkhost.xai-corp.net:3001 backup;
|
||||
}
|
||||
|
||||
# xaibox.xai-corp.net
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name metrics.xai-corp.net;
|
||||
ssl_certificate /etc/letsencrypt/live/xai-corp.net/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/xai-corp.net/privkey.pem;
|
||||
|
||||
client_max_body_size 200m;
|
||||
|
||||
#Strict-Transport-Security: max-age=15768000
|
||||
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;
|
||||
|
||||
location / {
|
||||
proxy_set_header Connection $http_connection;
|
||||
proxy_pass http://metrics_upstream;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user