chawin.chen commited on
Commit ·
dc67337
1
Parent(s): 164dff4
init
Browse files- nginx/conf.d/ittools.conf +0 -22
- nginx/conf.d/nginx-ui.conf +0 -55
- nginx/conf.d/photo.conf +0 -22
- nginx/conf.d/resume-boot.conf +0 -22
- nginx/conf.d/ssl_proxy.conf +2 -69
- nginx/conf.d/webdav.conf +0 -22
nginx/conf.d/ittools.conf
DELETED
|
@@ -1,22 +0,0 @@
|
|
| 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
CHANGED
|
@@ -29,63 +29,8 @@ server {
|
|
| 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 |
}
|
|
|
|
| 29 |
location /nginx-ui/ {
|
| 30 |
proxy_pass http://127.0.0.1:9000/;
|
| 31 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
location /facescore {
|
| 33 |
root /var/www;
|
| 34 |
index index.html index.htm;
|
| 35 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
}
|
nginx/conf.d/photo.conf
DELETED
|
@@ -1,22 +0,0 @@
|
|
| 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
DELETED
|
@@ -1,22 +0,0 @@
|
|
| 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
CHANGED
|
@@ -1,16 +1,12 @@
|
|
| 1 |
upstream facescore_pool {
|
| 2 |
least_conn;
|
| 3 |
-
|
| 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 |
-
|
| 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 |
|
|
@@ -53,67 +49,12 @@ server {
|
|
| 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;
|
|
@@ -128,10 +69,6 @@ server {
|
|
| 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 {
|
|
@@ -143,9 +80,5 @@ server {
|
|
| 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 |
|
|
|
|
| 1 |
upstream facescore_pool {
|
| 2 |
least_conn;
|
| 3 |
+
server ethonmax-picpocket.hf.space weight=2 max_fails=1 fail_timeout=60s;
|
|
|
|
| 4 |
keepalive 64;
|
| 5 |
}
|
| 6 |
|
| 7 |
upstream facescore_analyze {
|
| 8 |
least_conn;
|
| 9 |
+
server ethonmax-picpocket.hf.space weight=2 max_fails=1 fail_timeout=60s;
|
|
|
|
|
|
|
|
|
|
| 10 |
keepalive 64;
|
| 11 |
}
|
| 12 |
|
|
|
|
| 49 |
location /nginx-ui/ {
|
| 50 |
proxy_pass http://127.0.0.1:9000/;
|
| 51 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
location /facelist-web {
|
| 53 |
auth_basic "Restricted Access"; # 提示信息
|
| 54 |
auth_basic_user_file /etc/nginx/conf.d/.htpasswd;
|
| 55 |
root /var/www;
|
| 56 |
index index.html index.htm;
|
| 57 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
location /facescore/analyze {
|
| 59 |
proxy_pass http://facescore_analyze;
|
| 60 |
proxy_set_header Host $host;
|
|
|
|
| 69 |
proxy_pass http://facescore_pool;
|
| 70 |
proxy_set_header Host $host;
|
| 71 |
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
}
|
| 73 |
|
| 74 |
location /cp_docs {
|
|
|
|
| 80 |
location /cp_docs/openapi.json {
|
| 81 |
proxy_pass http://facescore_pool/openapi.json;
|
| 82 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
}
|
| 84 |
|
nginx/conf.d/webdav.conf
DELETED
|
@@ -1,22 +0,0 @@
|
|
| 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 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|