xxx
This commit is contained in:
parent
9de4071b52
commit
c00ef3a6a8
|
|
@ -62,7 +62,7 @@ export SRS_DATA=${NETWORK}_srs_data
|
|||
|
||||
|
||||
#Minio 配置
|
||||
export MINIO_NAME=${MINIO_DOMAIN}
|
||||
export MINIO_NAME=MINIO_${DOMAIN}
|
||||
export MINIO_MEMORY=512m
|
||||
export MINIO_IMAGE=quay.io/minio/minio
|
||||
export MINIO_DATA=${NETWORK}_minio_data
|
||||
|
|
|
|||
|
|
@ -1,21 +0,0 @@
|
|||
|
||||
server {
|
||||
listen 80;
|
||||
listen 443 ssl;
|
||||
server_name consul-bazhong.t-aaron.com;
|
||||
|
||||
ssl_certificate /etc/nginx/t-aaron.com.pem;
|
||||
ssl_certificate_key /etc/nginx/t-aaron.com.key;
|
||||
ssl_session_timeout 5m;
|
||||
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
|
||||
ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
|
||||
ssl_prefer_server_ciphers on;
|
||||
|
||||
location / {
|
||||
proxy_pass http://CONSUL_bazhong:8500;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
|
||||
server {
|
||||
listen 80;
|
||||
listen 443 ssl;
|
||||
server_name minio-bazhong.t-aaron.com;
|
||||
|
||||
ssl_certificate /etc/nginx/t-aaron.com.pem;
|
||||
ssl_certificate_key /etc/nginx/t-aaron.com.key;
|
||||
ssl_session_timeout 5m;
|
||||
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
|
||||
ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
|
||||
ssl_prefer_server_ciphers on;
|
||||
|
||||
location / {
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_pass http://minio-bazhong.t-aaron.com:9000;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
|
||||
server {
|
||||
listen 80;
|
||||
listen 443 ssl;
|
||||
server_name minioconsole-bazhong.t-aaron.com;
|
||||
|
||||
ssl_certificate /etc/nginx/t-aaron.com.pem;
|
||||
ssl_certificate_key /etc/nginx/t-aaron.com.key;
|
||||
ssl_session_timeout 5m;
|
||||
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
|
||||
ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
|
||||
ssl_prefer_server_ciphers on;
|
||||
|
||||
location / {
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_pass http://minio-bazhong.t-aaron.com:9001;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
server {
|
||||
listen 80;
|
||||
listen 443 ssl;
|
||||
server_name oidc-bazhong.t-aaron.com;
|
||||
|
||||
# SSL证书配置
|
||||
ssl_certificate /etc/nginx/t-aaron.com.pem;
|
||||
ssl_certificate_key /etc/nginx/t-aaron.com.key;
|
||||
ssl_session_timeout 5m;
|
||||
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
|
||||
ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
|
||||
ssl_prefer_server_ciphers on;
|
||||
|
||||
|
||||
location / {
|
||||
proxy_pass http://OIDC-SERVERbazhong:8090;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
}
|
||||
|
|
@ -1 +0,0 @@
|
|||
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
server {
|
||||
listen 80;
|
||||
listen 443 ssl;
|
||||
server_name xxljob-bazhong.t-aaron.com;
|
||||
|
||||
# SSL证书配置
|
||||
ssl_certificate /etc/nginx/t-aaron.com.pem;
|
||||
ssl_certificate_key /etc/nginx/t-aaron.com.key;
|
||||
ssl_session_timeout 5m;
|
||||
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
|
||||
ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
|
||||
ssl_prefer_server_ciphers on;
|
||||
location / {
|
||||
proxy_pass http://XXL_JOB_bazhong:8080;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ docker run --pull always -d \
|
|||
--env SPRING_NEWMQTT_ONLINEURL=http://${MQTT_NAME}:1883 \
|
||||
--env SPRING_NEWMQTT_NEWURL=http://${MQTT_NAME}:1883 \
|
||||
--env SPRING_KAFKA_COMMON_BOOTSTRAP-SERVERS=${KAFKA_NAME}:9092 \
|
||||
--env MINIO_OSS_ENDPOINT=https://${MINIO_NAME}:${NGINX_HTTPS_PORT} \
|
||||
--env MINIO_OSS_ENDPOINT=https://${MINIO_DOMAIN}:${NGINX_HTTPS_PORT} \
|
||||
--env MINIO_OSS_ACCESS_KEY=${MINIO_ACCESS_KEY} \
|
||||
--env MINIO_OSS_SECRET_KEY=${MINIO_SECRET_KEY} \
|
||||
--env TZ=Asia/Shanghai \
|
||||
|
|
|
|||
Loading…
Reference in New Issue