2026-05-29 09:19:30 +08:00
|
|
|
server {
|
|
|
|
|
listen 80;
|
2026-06-04 09:01:52 +08:00
|
|
|
server_name h5y2c.com admin.h5y2c.com jf.h5y2c.com jfadmin.h5y2c.com;
|
2026-05-29 09:19:30 +08:00
|
|
|
|
|
|
|
|
return 301 https://$host$request_uri;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-30 20:08:25 +08:00
|
|
|
server {
|
|
|
|
|
listen 443 ssl;
|
|
|
|
|
http2 on;
|
2026-06-04 09:01:52 +08:00
|
|
|
server_name jf.h5y2c.com;
|
2026-05-30 20:08:25 +08:00
|
|
|
|
2026-06-04 09:01:52 +08:00
|
|
|
ssl_certificate /etc/nginx/ssl/h5y2c.com_cert/h5y2c.com.pem;
|
|
|
|
|
ssl_certificate_key /etc/nginx/ssl/h5y2c.com_cert/h5y2c.com.key;
|
2026-05-30 20:08:25 +08:00
|
|
|
|
|
|
|
|
ssl_protocols TLSv1.2 TLSv1.3;
|
|
|
|
|
ssl_session_cache shared:SSL:10m;
|
|
|
|
|
ssl_session_timeout 10m;
|
|
|
|
|
|
|
|
|
|
client_max_body_size 50m;
|
|
|
|
|
|
|
|
|
|
location / {
|
|
|
|
|
proxy_pass http://host.docker.internal:18082;
|
|
|
|
|
proxy_http_version 1.1;
|
|
|
|
|
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 https;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
server {
|
|
|
|
|
listen 443 ssl;
|
|
|
|
|
http2 on;
|
2026-06-04 09:01:52 +08:00
|
|
|
server_name jfadmin.h5y2c.com;
|
2026-05-30 20:08:25 +08:00
|
|
|
|
2026-06-04 09:01:52 +08:00
|
|
|
ssl_certificate /etc/nginx/ssl/h5y2c.com_cert/h5y2c.com.pem;
|
|
|
|
|
ssl_certificate_key /etc/nginx/ssl/h5y2c.com_cert/h5y2c.com.key;
|
2026-05-30 20:08:25 +08:00
|
|
|
|
|
|
|
|
ssl_protocols TLSv1.2 TLSv1.3;
|
|
|
|
|
ssl_session_cache shared:SSL:10m;
|
|
|
|
|
ssl_session_timeout 10m;
|
|
|
|
|
|
|
|
|
|
client_max_body_size 50m;
|
|
|
|
|
|
|
|
|
|
location / {
|
|
|
|
|
proxy_pass http://host.docker.internal:18081;
|
|
|
|
|
proxy_http_version 1.1;
|
|
|
|
|
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 https;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-29 09:19:30 +08:00
|
|
|
server {
|
|
|
|
|
listen 443 ssl;
|
|
|
|
|
http2 on;
|
2026-06-04 09:01:52 +08:00
|
|
|
server_name h5y2c.com;
|
2026-05-29 09:19:30 +08:00
|
|
|
|
2026-06-04 09:01:52 +08:00
|
|
|
ssl_certificate /etc/nginx/ssl/h5y2c.com_cert/h5y2c.com.pem;
|
|
|
|
|
ssl_certificate_key /etc/nginx/ssl/h5y2c.com_cert/h5y2c.com.key;
|
2026-05-29 09:19:30 +08:00
|
|
|
|
|
|
|
|
ssl_protocols TLSv1.2 TLSv1.3;
|
|
|
|
|
ssl_session_cache shared:SSL:10m;
|
|
|
|
|
ssl_session_timeout 10m;
|
|
|
|
|
|
|
|
|
|
client_max_body_size 50m;
|
|
|
|
|
|
|
|
|
|
location / {
|
|
|
|
|
proxy_pass http://integral-h5:80;
|
|
|
|
|
proxy_http_version 1.1;
|
|
|
|
|
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 https;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
server {
|
|
|
|
|
listen 443 ssl;
|
|
|
|
|
http2 on;
|
2026-06-04 09:01:52 +08:00
|
|
|
server_name admin.h5y2c.com;
|
2026-05-29 09:19:30 +08:00
|
|
|
|
2026-06-04 09:01:52 +08:00
|
|
|
ssl_certificate /etc/nginx/ssl/h5y2c.com_cert/h5y2c.com.pem;
|
|
|
|
|
ssl_certificate_key /etc/nginx/ssl/h5y2c.com_cert/h5y2c.com.key;
|
2026-05-29 09:19:30 +08:00
|
|
|
|
|
|
|
|
ssl_protocols TLSv1.2 TLSv1.3;
|
|
|
|
|
ssl_session_cache shared:SSL:10m;
|
|
|
|
|
ssl_session_timeout 10m;
|
|
|
|
|
|
|
|
|
|
client_max_body_size 50m;
|
|
|
|
|
|
|
|
|
|
location / {
|
|
|
|
|
proxy_pass http://integral-houtai:8785;
|
|
|
|
|
proxy_http_version 1.1;
|
|
|
|
|
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 https;
|
|
|
|
|
}
|
|
|
|
|
}
|