chawin.chen commited on
Commit ·
3d8e02d
1
Parent(s): 060a5e1
init
Browse files- Dockerfile +3 -1
- nginx/certs/miplus.site.key +27 -0
- nginx/certs/miplus.site.pem +83 -0
- nginx/conf.d/.htpasswd +1 -0
- nginx/conf.d/ittools.conf +22 -0
- nginx/conf.d/nginx-ui.conf +91 -0
- nginx/conf.d/photo.conf +22 -0
- nginx/conf.d/resume-boot.conf +22 -0
- nginx/conf.d/ssl_proxy.conf +151 -0
- nginx/conf.d/stub_status_nginx-ui.conf +13 -0
- nginx/conf.d/webdav.conf +22 -0
- nginx/fastcgi_params +25 -0
- nginx/mime.types +99 -0
- nginx/nginx.conf +35 -0
- nginx/scgi_params +17 -0
- nginx/streams-available/et +3 -0
- nginx/streams-enabled/zk.conf +4 -0
- nginx/uwsgi_params +17 -0
- www/favicon.ico +0 -0
Dockerfile
CHANGED
|
@@ -2,6 +2,8 @@ FROM uozi/nginx-ui:latest
|
|
| 2 |
|
| 3 |
RUN mkdir -p /etc/nginx /etc/nginx-ui /var/www
|
| 4 |
|
| 5 |
-
COPY app.ini /etc/nginx-ui
|
|
|
|
|
|
|
| 6 |
|
| 7 |
EXPOSE 7860
|
|
|
|
| 2 |
|
| 3 |
RUN mkdir -p /etc/nginx /etc/nginx-ui /var/www
|
| 4 |
|
| 5 |
+
COPY app.ini /etc/nginx-ui/app.ini
|
| 6 |
+
COPY www/ /var/www/
|
| 7 |
+
COPY nginx/ /etc/nginx/
|
| 8 |
|
| 9 |
EXPOSE 7860
|
nginx/certs/miplus.site.key
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
-----BEGIN RSA PRIVATE KEY-----
|
| 2 |
+
MII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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
server{
|
| 2 |
+
listen 8180;
|
| 3 |
+
server_name 106.55.191.68;
|
| 4 |
+
client_max_body_size 4096m;
|
| 5 |
+
client_header_timeout 10m;
|
| 6 |
+
client_body_timeout 10m;
|
| 7 |
+
proxy_connect_timeout 600s;
|
| 8 |
+
proxy_read_timeout 10m;
|
| 9 |
+
proxy_send_timeout 10m;
|
| 10 |
+
proxy_set_header X-Real_IP $remote_addr;
|
| 11 |
+
proxy_set_header X-Forwarded-For $remote_addr;
|
| 12 |
+
proxy_http_version 1.1;
|
| 13 |
+
proxy_set_header Upgrade $http_upgrade;
|
| 14 |
+
proxy_set_header Connection "Upgrade";
|
| 15 |
+
proxy_set_header Host $http_host;
|
| 16 |
+
index index.php index.html index.htm;
|
| 17 |
+
|
| 18 |
+
location /{
|
| 19 |
+
proxy_pass http://106.55.191.68:8180;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
}
|
nginx/conf.d/nginx-ui.conf
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
map $http_upgrade $connection_upgrade {
|
| 2 |
+
default upgrade;
|
| 3 |
+
'' close;
|
| 4 |
+
}
|
| 5 |
+
server {
|
| 6 |
+
listen 7860;
|
| 7 |
+
server_name localhost;# your domain here
|
| 8 |
+
client_max_body_size 1024M;# maximum upload size
|
| 9 |
+
client_header_timeout 10m;
|
| 10 |
+
client_body_timeout 10m;
|
| 11 |
+
proxy_connect_timeout 300s;
|
| 12 |
+
proxy_send_timeout 300s;
|
| 13 |
+
proxy_read_timeout 300s;
|
| 14 |
+
proxy_set_header Host $host;
|
| 15 |
+
proxy_set_header X-Real-IP $remote_addr;
|
| 16 |
+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
| 17 |
+
proxy_set_header X-Forwarded-Proto $scheme;
|
| 18 |
+
proxy_http_version 1.1;
|
| 19 |
+
proxy_set_header Upgrade $http_upgrade;
|
| 20 |
+
proxy_set_header Connection $connection_upgrade;
|
| 21 |
+
#return 301 https://$host$request_uri;
|
| 22 |
+
# location / {
|
| 23 |
+
# root /var/www;
|
| 24 |
+
# index /resume;
|
| 25 |
+
# }
|
| 26 |
+
location / {
|
| 27 |
+
deny all;
|
| 28 |
+
}
|
| 29 |
+
location /nginx-ui/ {
|
| 30 |
+
proxy_pass http://127.0.0.1:9000/;
|
| 31 |
+
}
|
| 32 |
+
location /file/ {
|
| 33 |
+
proxy_pass http://127.0.0.1:8800/;
|
| 34 |
+
}
|
| 35 |
+
location /webdav1/ {
|
| 36 |
+
proxy_pass http://127.0.0.1:8800/;
|
| 37 |
+
}
|
| 38 |
+
location /webdav2/ {
|
| 39 |
+
proxy_pass http://127.0.0.1:8701/;
|
| 40 |
+
}
|
| 41 |
+
location /resume {
|
| 42 |
+
root /var/www;
|
| 43 |
+
index resume.html;
|
| 44 |
+
}
|
| 45 |
+
location /resume-boot {
|
| 46 |
+
root /var/www;
|
| 47 |
+
index index.html index.htm;
|
| 48 |
+
}
|
| 49 |
+
# 主服务路由
|
| 50 |
+
location /neu/ {
|
| 51 |
+
rewrite ^/(.*) http://14.103.232.157:9898 redirect;
|
| 52 |
+
}
|
| 53 |
+
location /portainer/ {
|
| 54 |
+
proxy_pass http://127.0.0.1:9100/;
|
| 55 |
+
}
|
| 56 |
+
location /boss++ {
|
| 57 |
+
rewrite ^/(.*) http://www.miplus.site//bospider-web redirect;
|
| 58 |
+
}
|
| 59 |
+
location /bbb {
|
| 60 |
+
rewrite ^/(.*) http://www.miplus.site//bospider-web redirect;
|
| 61 |
+
}
|
| 62 |
+
location /bospider-web {
|
| 63 |
+
root /var/www;
|
| 64 |
+
index index.html index.htm;
|
| 65 |
+
}
|
| 66 |
+
location /facescore {
|
| 67 |
+
root /var/www;
|
| 68 |
+
index index.html index.htm;
|
| 69 |
+
}
|
| 70 |
+
location /weibo-web {
|
| 71 |
+
root /var/www;
|
| 72 |
+
index index.html index.htm;
|
| 73 |
+
}
|
| 74 |
+
location /lottery {
|
| 75 |
+
rewrite ^/(.*) http://www.miplus.site//lottery-web redirect;
|
| 76 |
+
}
|
| 77 |
+
location /lottery-web {
|
| 78 |
+
root /var/www;
|
| 79 |
+
index index.html index.htm;
|
| 80 |
+
}
|
| 81 |
+
location /zhcw {
|
| 82 |
+
root /var/www;
|
| 83 |
+
index index.html index.htm;
|
| 84 |
+
}
|
| 85 |
+
location /ihs/bospider {
|
| 86 |
+
proxy_pass http://t-ccy001:8588;
|
| 87 |
+
}
|
| 88 |
+
location /photo++ {
|
| 89 |
+
rewrite ^/(.*) http://www.chawin.site:8342 redirect;
|
| 90 |
+
}
|
| 91 |
+
}
|
nginx/conf.d/photo.conf
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
server{
|
| 2 |
+
listen 8342;
|
| 3 |
+
server_name 106.55.191.68;
|
| 4 |
+
client_max_body_size 4096m;
|
| 5 |
+
client_header_timeout 10m;
|
| 6 |
+
client_body_timeout 10m;
|
| 7 |
+
proxy_connect_timeout 600s;
|
| 8 |
+
proxy_read_timeout 10m;
|
| 9 |
+
proxy_send_timeout 10m;
|
| 10 |
+
proxy_set_header X-Real_IP $remote_addr;
|
| 11 |
+
proxy_set_header X-Forwarded-For $remote_addr;
|
| 12 |
+
proxy_http_version 1.1;
|
| 13 |
+
proxy_set_header Upgrade $http_upgrade;
|
| 14 |
+
proxy_set_header Connection "Upgrade";
|
| 15 |
+
proxy_set_header Host $http_host;
|
| 16 |
+
index index.php index.html index.htm;
|
| 17 |
+
|
| 18 |
+
location /{
|
| 19 |
+
proxy_pass http://106.55.191.68:8342;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
}
|
nginx/conf.d/resume-boot.conf
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
server{
|
| 2 |
+
listen 9090;
|
| 3 |
+
server_name 106.55.191.68;
|
| 4 |
+
client_max_body_size 4096m;
|
| 5 |
+
client_header_timeout 10m;
|
| 6 |
+
client_body_timeout 10m;
|
| 7 |
+
proxy_connect_timeout 600s;
|
| 8 |
+
proxy_read_timeout 10m;
|
| 9 |
+
proxy_send_timeout 10m;
|
| 10 |
+
proxy_set_header X-Real_IP $remote_addr;
|
| 11 |
+
proxy_set_header X-Forwarded-For $remote_addr;
|
| 12 |
+
proxy_http_version 1.1;
|
| 13 |
+
proxy_set_header Upgrade $http_upgrade;
|
| 14 |
+
proxy_set_header Connection "Upgrade";
|
| 15 |
+
proxy_set_header Host $http_host;
|
| 16 |
+
index index.php index.html index.htm;
|
| 17 |
+
|
| 18 |
+
location /{
|
| 19 |
+
proxy_pass http://106.55.191.68:9090;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
}
|
nginx/conf.d/ssl_proxy.conf
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
upstream facescore_pool {
|
| 2 |
+
least_conn;
|
| 3 |
+
server t-ccy001:9190 max_fails=1 fail_timeout=60s;
|
| 4 |
+
server 54.186.161.12:18880 max_fails=1 fail_timeout=60s;
|
| 5 |
+
keepalive 64;
|
| 6 |
+
}
|
| 7 |
+
|
| 8 |
+
upstream facescore_analyze {
|
| 9 |
+
least_conn;
|
| 10 |
+
#server t-ccy001:8711 weight=1 max_fails=1 fail_timeout=60s;
|
| 11 |
+
server t-ccy001:9190 max_fails=1 fail_timeout=60s;
|
| 12 |
+
#server cyberchawin-picpocket.hf.space weight=2 max_fails=1 fail_timeout=60s;
|
| 13 |
+
server 54.186.161.12:18880 weight=1 max_fails=1 fail_timeout=60s;
|
| 14 |
+
keepalive 64;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
server {
|
| 18 |
+
listen 443 ssl;
|
| 19 |
+
client_max_body_size 1024M;# maximum upload size
|
| 20 |
+
client_header_timeout 10m;
|
| 21 |
+
client_body_timeout 10m;
|
| 22 |
+
proxy_pass_request_headers on;
|
| 23 |
+
client_body_buffer_size 10M;
|
| 24 |
+
proxy_connect_timeout 60s;
|
| 25 |
+
proxy_send_timeout 300s;
|
| 26 |
+
proxy_read_timeout 300s;
|
| 27 |
+
server_name *.miplus.site; # 替换成您的域名
|
| 28 |
+
ssl_certificate /etc/nginx/certs/miplus.site.pem; # 替换成您的SSL证书路径
|
| 29 |
+
ssl_certificate_key /etc/nginx/certs/miplus.site.key; # 替换成您的SSL证书私钥路径
|
| 30 |
+
|
| 31 |
+
# 启用 SSL 协议(推荐使用 TLSv1.2 和 TLSv1.3)
|
| 32 |
+
ssl_protocols TLSv1.2 TLSv1.3;
|
| 33 |
+
ssl_prefer_server_ciphers on;
|
| 34 |
+
# location / {
|
| 35 |
+
# root /var/www;
|
| 36 |
+
# index /resume;
|
| 37 |
+
# }
|
| 38 |
+
location / {
|
| 39 |
+
deny all;
|
| 40 |
+
}
|
| 41 |
+
location /tencent5296981034501438585.txt{
|
| 42 |
+
access_log off;
|
| 43 |
+
log_not_found off;
|
| 44 |
+
root /var/www;
|
| 45 |
+
try_files /tencent5296981034501438585.txt =204;
|
| 46 |
+
}
|
| 47 |
+
location /favicon.ico {
|
| 48 |
+
access_log off;
|
| 49 |
+
log_not_found off;
|
| 50 |
+
root /var/www;
|
| 51 |
+
try_files /favicon.ico =204;
|
| 52 |
+
}
|
| 53 |
+
location /nginx-ui/ {
|
| 54 |
+
proxy_pass http://127.0.0.1:9000/;
|
| 55 |
+
}
|
| 56 |
+
location /file/ {
|
| 57 |
+
proxy_pass http://127.0.0.1:8800/;
|
| 58 |
+
}
|
| 59 |
+
location /webdav1/ {
|
| 60 |
+
proxy_pass http://127.0.0.1:8800/;
|
| 61 |
+
}
|
| 62 |
+
location /webdav2/ {
|
| 63 |
+
proxy_pass http://127.0.0.1:8701/;
|
| 64 |
+
}
|
| 65 |
+
location /resume {
|
| 66 |
+
root /var/www;
|
| 67 |
+
index resume.html;
|
| 68 |
+
}
|
| 69 |
+
location /resume-boot {
|
| 70 |
+
root /var/www;
|
| 71 |
+
index index.html index.htm;
|
| 72 |
+
}
|
| 73 |
+
# 主服务路由
|
| 74 |
+
location /neu/ {
|
| 75 |
+
rewrite ^/(.*) http://14.103.232.157:9898 redirect;
|
| 76 |
+
}
|
| 77 |
+
location /portainer/ {
|
| 78 |
+
proxy_pass http://127.0.0.1:9100/;
|
| 79 |
+
}
|
| 80 |
+
location /boss++ {
|
| 81 |
+
rewrite ^/(.*) http://www.miplus.site//bospider-web redirect;
|
| 82 |
+
}
|
| 83 |
+
location /bbb {
|
| 84 |
+
rewrite ^/(.*) http://www.miplus.site//bospider-web redirect;
|
| 85 |
+
}
|
| 86 |
+
location /bospider-web {
|
| 87 |
+
root /var/www;
|
| 88 |
+
index index.html index.htm;
|
| 89 |
+
}
|
| 90 |
+
location /facescore-web {
|
| 91 |
+
rewrite ^/(.*) https://www.miplus.site/facescore redirect;
|
| 92 |
+
}
|
| 93 |
+
location /facelist-web {
|
| 94 |
+
auth_basic "Restricted Access"; # 提示信息
|
| 95 |
+
auth_basic_user_file /etc/nginx/conf.d/.htpasswd;
|
| 96 |
+
root /var/www;
|
| 97 |
+
index index.html index.htm;
|
| 98 |
+
}
|
| 99 |
+
location /lottery {
|
| 100 |
+
rewrite ^/(.*) http://www.miplus.site/lottery-web redirect;
|
| 101 |
+
}
|
| 102 |
+
location /lottery-web {
|
| 103 |
+
root /var/www;
|
| 104 |
+
index index.html index.htm;
|
| 105 |
+
}
|
| 106 |
+
location /zhcw {
|
| 107 |
+
root /var/www;
|
| 108 |
+
index index.html index.htm;
|
| 109 |
+
}
|
| 110 |
+
location /weibo-web {
|
| 111 |
+
root /var/www;
|
| 112 |
+
index index.html index.htm;
|
| 113 |
+
}
|
| 114 |
+
location /ihs/bospider {
|
| 115 |
+
proxy_pass http://t-ccy001:8588;
|
| 116 |
+
}
|
| 117 |
+
location /facescore/analyze {
|
| 118 |
+
proxy_pass http://facescore_analyze;
|
| 119 |
+
proxy_set_header Host $host;
|
| 120 |
+
proxy_set_header X-Real-IP $remote_addr;
|
| 121 |
+
}
|
| 122 |
+
location /facescore/check_image_security {
|
| 123 |
+
proxy_pass http://facescore_analyze;
|
| 124 |
+
proxy_set_header Host $host;
|
| 125 |
+
proxy_set_header X-Real-IP $remote_addr;
|
| 126 |
+
}
|
| 127 |
+
location /facescore {
|
| 128 |
+
proxy_pass http://facescore_pool;
|
| 129 |
+
proxy_set_header Host $host;
|
| 130 |
+
proxy_set_header X-Real-IP $remote_addr;
|
| 131 |
+
# proxy_pass http://t-ccy001:9191;
|
| 132 |
+
# proxy_pass http://t-ccy001:9190;
|
| 133 |
+
# proxy_pass http://www.hbgsyycx.cn;
|
| 134 |
+
# proxy_pass http://54.186.161.12:18880;
|
| 135 |
+
}
|
| 136 |
+
|
| 137 |
+
location /cp_docs {
|
| 138 |
+
proxy_pass http://facescore_pool;
|
| 139 |
+
sub_filter '/openapi.json' '/cp_docs/openapi.json';
|
| 140 |
+
sub_filter '/docs' '/cp_docs/docs';
|
| 141 |
+
sub_filter_once off;
|
| 142 |
+
}
|
| 143 |
+
location /cp_docs/openapi.json {
|
| 144 |
+
proxy_pass http://facescore_pool/openapi.json;
|
| 145 |
+
}
|
| 146 |
+
|
| 147 |
+
location /photo++ {
|
| 148 |
+
rewrite ^/(.*) http://www.chawin.site:8342 redirect;
|
| 149 |
+
}
|
| 150 |
+
}
|
| 151 |
+
|
nginx/conf.d/stub_status_nginx-ui.conf
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# DO NOT EDIT THIS FILE, IT IS AUTO GENERATED BY NGINX-UI
|
| 2 |
+
# Nginx stub_status configuration for Nginx-UI
|
| 3 |
+
# Modified at 2025-10-28 00:35:16
|
| 4 |
+
server {
|
| 5 |
+
listen 51820;
|
| 6 |
+
server_name localhost;
|
| 7 |
+
# Status monitoring interface
|
| 8 |
+
location /stub_status {
|
| 9 |
+
stub_status;
|
| 10 |
+
allow 127.0.0.1;
|
| 11 |
+
deny all;
|
| 12 |
+
}
|
| 13 |
+
}
|
nginx/conf.d/webdav.conf
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
server{
|
| 2 |
+
listen 8866;
|
| 3 |
+
server_name 106.55.191.68;
|
| 4 |
+
client_max_body_size 4096m;
|
| 5 |
+
client_header_timeout 10m;
|
| 6 |
+
client_body_timeout 10m;
|
| 7 |
+
proxy_connect_timeout 600s;
|
| 8 |
+
proxy_read_timeout 10m;
|
| 9 |
+
proxy_send_timeout 10m;
|
| 10 |
+
proxy_set_header X-Real_IP $remote_addr;
|
| 11 |
+
proxy_set_header X-Forwarded-For $remote_addr;
|
| 12 |
+
proxy_http_version 1.1;
|
| 13 |
+
proxy_set_header Upgrade $http_upgrade;
|
| 14 |
+
proxy_set_header Connection "Upgrade";
|
| 15 |
+
proxy_set_header Host $http_host;
|
| 16 |
+
index index.php index.html index.htm;
|
| 17 |
+
|
| 18 |
+
location /{
|
| 19 |
+
proxy_pass http://106.55.191.68:8800;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
}
|
nginx/fastcgi_params
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
fastcgi_param QUERY_STRING $query_string;
|
| 3 |
+
fastcgi_param REQUEST_METHOD $request_method;
|
| 4 |
+
fastcgi_param CONTENT_TYPE $content_type;
|
| 5 |
+
fastcgi_param CONTENT_LENGTH $content_length;
|
| 6 |
+
|
| 7 |
+
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
|
| 8 |
+
fastcgi_param REQUEST_URI $request_uri;
|
| 9 |
+
fastcgi_param DOCUMENT_URI $document_uri;
|
| 10 |
+
fastcgi_param DOCUMENT_ROOT $document_root;
|
| 11 |
+
fastcgi_param SERVER_PROTOCOL $server_protocol;
|
| 12 |
+
fastcgi_param REQUEST_SCHEME $scheme;
|
| 13 |
+
fastcgi_param HTTPS $https if_not_empty;
|
| 14 |
+
|
| 15 |
+
fastcgi_param GATEWAY_INTERFACE CGI/1.1;
|
| 16 |
+
fastcgi_param SERVER_SOFTWARE nginx/$nginx_version;
|
| 17 |
+
|
| 18 |
+
fastcgi_param REMOTE_ADDR $remote_addr;
|
| 19 |
+
fastcgi_param REMOTE_PORT $remote_port;
|
| 20 |
+
fastcgi_param SERVER_ADDR $server_addr;
|
| 21 |
+
fastcgi_param SERVER_PORT $server_port;
|
| 22 |
+
fastcgi_param SERVER_NAME $server_name;
|
| 23 |
+
|
| 24 |
+
# PHP only, required if PHP was built with --enable-force-cgi-redirect
|
| 25 |
+
fastcgi_param REDIRECT_STATUS 200;
|
nginx/mime.types
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
types {
|
| 3 |
+
text/html html htm shtml;
|
| 4 |
+
text/css css;
|
| 5 |
+
text/xml xml;
|
| 6 |
+
image/gif gif;
|
| 7 |
+
image/jpeg jpeg jpg;
|
| 8 |
+
application/javascript js;
|
| 9 |
+
application/atom+xml atom;
|
| 10 |
+
application/rss+xml rss;
|
| 11 |
+
|
| 12 |
+
text/mathml mml;
|
| 13 |
+
text/plain txt;
|
| 14 |
+
text/vnd.sun.j2me.app-descriptor jad;
|
| 15 |
+
text/vnd.wap.wml wml;
|
| 16 |
+
text/x-component htc;
|
| 17 |
+
|
| 18 |
+
image/avif avif;
|
| 19 |
+
image/png png;
|
| 20 |
+
image/svg+xml svg svgz;
|
| 21 |
+
image/tiff tif tiff;
|
| 22 |
+
image/vnd.wap.wbmp wbmp;
|
| 23 |
+
image/webp webp;
|
| 24 |
+
image/x-icon ico;
|
| 25 |
+
image/x-jng jng;
|
| 26 |
+
image/x-ms-bmp bmp;
|
| 27 |
+
|
| 28 |
+
font/woff woff;
|
| 29 |
+
font/woff2 woff2;
|
| 30 |
+
|
| 31 |
+
application/java-archive jar war ear;
|
| 32 |
+
application/json json;
|
| 33 |
+
application/mac-binhex40 hqx;
|
| 34 |
+
application/msword doc;
|
| 35 |
+
application/pdf pdf;
|
| 36 |
+
application/postscript ps eps ai;
|
| 37 |
+
application/rtf rtf;
|
| 38 |
+
application/vnd.apple.mpegurl m3u8;
|
| 39 |
+
application/vnd.google-earth.kml+xml kml;
|
| 40 |
+
application/vnd.google-earth.kmz kmz;
|
| 41 |
+
application/vnd.ms-excel xls;
|
| 42 |
+
application/vnd.ms-fontobject eot;
|
| 43 |
+
application/vnd.ms-powerpoint ppt;
|
| 44 |
+
application/vnd.oasis.opendocument.graphics odg;
|
| 45 |
+
application/vnd.oasis.opendocument.presentation odp;
|
| 46 |
+
application/vnd.oasis.opendocument.spreadsheet ods;
|
| 47 |
+
application/vnd.oasis.opendocument.text odt;
|
| 48 |
+
application/vnd.openxmlformats-officedocument.presentationml.presentation
|
| 49 |
+
pptx;
|
| 50 |
+
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
|
| 51 |
+
xlsx;
|
| 52 |
+
application/vnd.openxmlformats-officedocument.wordprocessingml.document
|
| 53 |
+
docx;
|
| 54 |
+
application/vnd.wap.wmlc wmlc;
|
| 55 |
+
application/wasm wasm;
|
| 56 |
+
application/x-7z-compressed 7z;
|
| 57 |
+
application/x-cocoa cco;
|
| 58 |
+
application/x-java-archive-diff jardiff;
|
| 59 |
+
application/x-java-jnlp-file jnlp;
|
| 60 |
+
application/x-makeself run;
|
| 61 |
+
application/x-perl pl pm;
|
| 62 |
+
application/x-pilot prc pdb;
|
| 63 |
+
application/x-rar-compressed rar;
|
| 64 |
+
application/x-redhat-package-manager rpm;
|
| 65 |
+
application/x-sea sea;
|
| 66 |
+
application/x-shockwave-flash swf;
|
| 67 |
+
application/x-stuffit sit;
|
| 68 |
+
application/x-tcl tcl tk;
|
| 69 |
+
application/x-x509-ca-cert der pem crt;
|
| 70 |
+
application/x-xpinstall xpi;
|
| 71 |
+
application/xhtml+xml xhtml;
|
| 72 |
+
application/xspf+xml xspf;
|
| 73 |
+
application/zip zip;
|
| 74 |
+
|
| 75 |
+
application/octet-stream bin exe dll;
|
| 76 |
+
application/octet-stream deb;
|
| 77 |
+
application/octet-stream dmg;
|
| 78 |
+
application/octet-stream iso img;
|
| 79 |
+
application/octet-stream msi msp msm;
|
| 80 |
+
|
| 81 |
+
audio/midi mid midi kar;
|
| 82 |
+
audio/mpeg mp3;
|
| 83 |
+
audio/ogg ogg;
|
| 84 |
+
audio/x-m4a m4a;
|
| 85 |
+
audio/x-realaudio ra;
|
| 86 |
+
|
| 87 |
+
video/3gpp 3gpp 3gp;
|
| 88 |
+
video/mp2t ts;
|
| 89 |
+
video/mp4 mp4;
|
| 90 |
+
video/mpeg mpeg mpg;
|
| 91 |
+
video/quicktime mov;
|
| 92 |
+
video/webm webm;
|
| 93 |
+
video/x-flv flv;
|
| 94 |
+
video/x-m4v m4v;
|
| 95 |
+
video/x-mng mng;
|
| 96 |
+
video/x-ms-asf asx asf;
|
| 97 |
+
video/x-ms-wmv wmv;
|
| 98 |
+
video/x-msvideo avi;
|
| 99 |
+
}
|
nginx/nginx.conf
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
user nginx;
|
| 2 |
+
worker_processes auto;
|
| 3 |
+
|
| 4 |
+
error_log /var/log/nginx/error.log notice;
|
| 5 |
+
error_log /var/log/nginx/error.local.log notice;
|
| 6 |
+
pid /var/run/nginx.pid;
|
| 7 |
+
|
| 8 |
+
events {
|
| 9 |
+
worker_connections 1024;
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
stream {
|
| 13 |
+
include /etc/nginx/streams-enabled/*;
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
http {
|
| 17 |
+
include /etc/nginx/mime.types;
|
| 18 |
+
default_type application/octet-stream;
|
| 19 |
+
|
| 20 |
+
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
| 21 |
+
'$status $body_bytes_sent "$http_referer" '
|
| 22 |
+
'"$http_user_agent" "$http_x_forwarded_for"';
|
| 23 |
+
|
| 24 |
+
access_log /var/log/nginx/access.log main;
|
| 25 |
+
|
| 26 |
+
sendfile on;
|
| 27 |
+
#tcp_nopush on;
|
| 28 |
+
|
| 29 |
+
keepalive_timeout 65;
|
| 30 |
+
|
| 31 |
+
gzip on;
|
| 32 |
+
|
| 33 |
+
include /etc/nginx/conf.d/*.conf;
|
| 34 |
+
include /etc/nginx/sites-enabled/*;
|
| 35 |
+
}
|
nginx/scgi_params
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
scgi_param REQUEST_METHOD $request_method;
|
| 3 |
+
scgi_param REQUEST_URI $request_uri;
|
| 4 |
+
scgi_param QUERY_STRING $query_string;
|
| 5 |
+
scgi_param CONTENT_TYPE $content_type;
|
| 6 |
+
|
| 7 |
+
scgi_param DOCUMENT_URI $document_uri;
|
| 8 |
+
scgi_param DOCUMENT_ROOT $document_root;
|
| 9 |
+
scgi_param SCGI 1;
|
| 10 |
+
scgi_param SERVER_PROTOCOL $server_protocol;
|
| 11 |
+
scgi_param REQUEST_SCHEME $scheme;
|
| 12 |
+
scgi_param HTTPS $https if_not_empty;
|
| 13 |
+
|
| 14 |
+
scgi_param REMOTE_ADDR $remote_addr;
|
| 15 |
+
scgi_param REMOTE_PORT $remote_port;
|
| 16 |
+
scgi_param SERVER_PORT $server_port;
|
| 17 |
+
scgi_param SERVER_NAME $server_name;
|
nginx/streams-available/et
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
server {
|
| 2 |
+
|
| 3 |
+
}
|
nginx/streams-enabled/zk.conf
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
server {
|
| 2 |
+
listen 2181;
|
| 3 |
+
proxy_pass t-ccy001:8181;
|
| 4 |
+
}
|
nginx/uwsgi_params
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
uwsgi_param QUERY_STRING $query_string;
|
| 3 |
+
uwsgi_param REQUEST_METHOD $request_method;
|
| 4 |
+
uwsgi_param CONTENT_TYPE $content_type;
|
| 5 |
+
uwsgi_param CONTENT_LENGTH $content_length;
|
| 6 |
+
|
| 7 |
+
uwsgi_param REQUEST_URI $request_uri;
|
| 8 |
+
uwsgi_param PATH_INFO $document_uri;
|
| 9 |
+
uwsgi_param DOCUMENT_ROOT $document_root;
|
| 10 |
+
uwsgi_param SERVER_PROTOCOL $server_protocol;
|
| 11 |
+
uwsgi_param REQUEST_SCHEME $scheme;
|
| 12 |
+
uwsgi_param HTTPS $https if_not_empty;
|
| 13 |
+
|
| 14 |
+
uwsgi_param REMOTE_ADDR $remote_addr;
|
| 15 |
+
uwsgi_param REMOTE_PORT $remote_port;
|
| 16 |
+
uwsgi_param SERVER_PORT $server_port;
|
| 17 |
+
uwsgi_param SERVER_NAME $server_name;
|
www/favicon.ico
ADDED
|
|