6f34c1da289f styletang/rocketmq-console-ng "sh -c 'java $JAVA_O…" 7 months ago Up 6 months 0.0.0.0:8092->8080/tcp, :::8092->8080/tcp rmqconsole
b1d1db37435a foxiswho/rocketmq:broker-4.5.1 "/bin/sh -c 'cd ${RO…" 7 months ago Up 6 months 0.0.0.0:10909->10909/tcp, :::10909->10909/tcp, 0.0.0.0:10911->10911/tcp, :::10911->10911/tcp rmqbroker
d830788ee55d foxiswho/rocketmq:server-4.5.1 "/bin/sh -c 'cd ${RO…" 7 months ago Up 6 months 0.0.0.0:9876->9876/tcp, :::9876->9876/tcp rmqserver
73627738a46f bladex/sentinel-dashboard:latest "java -Djava.securit…" 7 months ago Up 6 months 8719/tcp, 0.0.0.0:8858->8858/tcp, :::8858->8858/tcp sentinel
04144c28910f seataio/seata-server:1.4.2 "java -Djava.securit…" 7 months ago Up 6 months 0.0.0.0:8091->8091/tcp, :::8091->8091/tcp seata-server
nginx 主目錄
drwxr-xr-x 3 root root 4096 Nov 8 17:32 admin
drwx------ 2 root root 4096 Sep 14 15:01 client_body_temp
drwxr-xr-x 2 root root 4096 Feb 23 20:14 conf
drwxr-xr-x 2 root root 4096 Dec 30 20:45 dist
-rw-r--r-- 1 root root 17882928 Dec 9 21:32 dist(57).zip
-rw-r--r-- 1 root root 17985074 Dec 30 20:23 dist.zip
drwx------ 2 root root 4096 Aug 23 2022 fastcgi_temp
drwxr-xr-x 6 root root 4096 Dec 30 20:45 html
drwxr-xr-x 6 root root 4096 Dec 1 16:29 html1201
drwxr-xr-x 7 root root 4096 Dec 7 09:29 html1207
drwxr-xr-x 6 root root 4096 Dec 9 21:33 html1209
drwxr-xr-x 6 root root 4096 Dec 30 20:44 html1230
drwxr-xr-x 3 root root 4096 Aug 23 2022 logs
drwx------ 12 root root 4096 Aug 24 2022 proxy_temp
drwxr-xr-x 2 root root 4096 Aug 23 2022 sbin
drwx------ 2 root root 4096 Aug 23 2022 scgi_temp
drwx------ 2 root root 4096 Aug 23 2022 uwsgi_temp
nginx目錄conf
-rw-r--r-- 1 root root 1077 Aug 23 2022 fastcgi.conf
-rw-r--r-- 1 root root 1077 Aug 23 2022 fastcgi.conf.default
-rw-r--r-- 1 root root 1007 Aug 23 2022 fastcgi_params
-rw-r--r-- 1 root root 1007 Aug 23 2022 fastcgi_params.default
-rw-r--r-- 1 root root 2837 Aug 23 2022 koi-utf
-rw-r--r-- 1 root root 2223 Aug 23 2022 koi-win
-rw-r--r-- 1 root root 4077 Aug 4 2022 m1.hcnft.cn_bundle.crt
-rw-r--r-- 1 root root 4077 Aug 4 2022 m1.hcnft.cn_bundle.pem
-rw-r--r-- 1 root root 1000 Aug 4 2022 m1.hcnft.cn.csr
-rw-r--r-- 1 root root 1700 Aug 4 2022 m1.hcnft.cn.key
-rw-r--r-- 1 root root 5170 Aug 23 2022 mime.types
-rw-r--r-- 1 root root 5170 Aug 23 2022 mime.types.default
-rw-r--r-- 1 root root 4077 Jan 21 00:31 mz.hcnft.cn_bundle.crt
-rw-r--r-- 1 root root 4077 Jan 21 00:31 mz.hcnft.cn_bundle.pem
-rw-r--r-- 1 root root 1000 Jan 21 00:31 mz.hcnft.cn.csr
-rw-r--r-- 1 root root 1700 Jan 21 00:31 mz.hcnft.cn.key
-rw-r--r-- 1 root root 3715 Jan 21 00:34 nginx.conf
-rw-r--r-- 1 root root 2447 Jan 21 00:32 nginx.conf20230121
-rw-r--r-- 1 root root 2841 Aug 23 2022 nginx.conf.bak
-rw-r--r-- 1 root root 2656 Aug 23 2022 nginx.conf.default
-rw-r--r-- 1 root root 636 Aug 23 2022 scgi_params
-rw-r--r-- 1 root root 636 Aug 23 2022 scgi_params.default
-rw-r--r-- 1 root root 664 Aug 23 2022 uwsgi_params
-rw-r--r-- 1 root root 664 Aug 23 2022 uwsgi_params.default
-rw-r--r-- 1 root root 3610 Aug 23 2022 win-utf
nginx.conf配置
user root;
worker_processes auto;
error_log /var/log/nginx/error.log notice;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /usr/local/nginx/conf/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 65;
proxy_read_timeout 120s; #連接成功后,后端服務器響應時間(代理接收超時)
#gzip on;
include /etc/nginx/conf.d/*.conf;
#這個是集群負載均衡
upstream nftServerName{
ip_hash;
server 172.21.16.19:9001;
server 172.21.16.41:9001;
#server 172.21.16.21:9001;
server 172.21.16.29:9001;
}
#這個是nacos集群
upstream nacos{
server 172.21.16.19:8848;
server 172.21.16.41:8848;
server 172.21.16.29:8848;
}
#nacos注冊集群
server {
listen 8848;
server_name m1.hcnft.cn;
location / {
proxy_pass http://nacos;
}
}
server {
listen 443 ssl;
server_name m1.hcnft.cn;
error_page 403 = 403.html;
error_page 404 https://m1.hcnft.cn;
error_page 405 =200 http://$host$request_uri;
ssl_certificate m1.hcnft.cn_bundle.crt;
ssl_certificate_key m1.hcnft.cn.key;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location / {
root html;
#index index.html index.htm;
try_files $uri $uri/ /index.html;
#index 403.html;
}
location /admin {
root admin;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
location ^~ /nft/ {
proxy_pass https://nftServerName;
}
#頁面訪問
location /nacos/ {
proxy_pass http://nacos;
}
location /accpapi/ {
proxy_pass https://accpapi.lianlianpay.com/;
}
location /accpgw/ {
proxy_pass https://accpgw.lianlianpay.com/;
}
}
server {
listen 443 ssl;
server_name mz.hcnft.cn;
error_page 403 = 403.html;
error_page 404 https://mz.hcnft.cn;
error_page 405 =200 http://$host$request_uri;
ssl_certificate mz.hcnft.cn_bundle.crt;
ssl_certificate_key mz.hcnft.cn.key;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location / {
root html;
#index index.html index.htm;
try_files $uri $uri/ /index.html;
#index 403.html;
}
location /admin {
root admin;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
location ^~ /nft/ {
proxy_pass https://nftServerName;
}
#頁面訪問
location /nacos/ {
proxy_pass http://nacos;
}
location /accpapi/ {
proxy_pass https://accpapi.lianlianpay.com/;
}
location /accpgw/ {
proxy_pass https://accpgw.lianlianpay.com/;
}
}