初始化提交
This commit is contained in:
57
nginx/oversea_test_jennie_web.conf
Normal file
57
nginx/oversea_test_jennie_web.conf
Normal file
@@ -0,0 +1,57 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name www.jennie.deal;
|
||||
|
||||
ssl_certificate /data/tengine/conf/certificate/jennie.deal.crt;
|
||||
ssl_certificate_key /data/tengine/conf/certificate/jennie.deal.key;
|
||||
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
|
||||
location / {
|
||||
root /data/tengine/html/jennie_web/dist/;
|
||||
index index.html index.htm;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
location = /50x.html {
|
||||
root html;
|
||||
}
|
||||
|
||||
location ^~ /test-api/jenniefy/ {
|
||||
proxy_pass http://43.139.181.45:8070;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
||||
|
||||
location ^~ /test-api/system/ {
|
||||
proxy_pass http://43.139.181.45:8070;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
||||
|
||||
# 处理 /test-api/xxx(除 jenniefy 之外的请求),转发到 43.139.181.45:5001
|
||||
location /test-api/ {
|
||||
rewrite ^/test-api(/.*)$ $1 break;
|
||||
proxy_pass http://127.0.0.1:5001;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name www.jennie.deal;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
|
||||
|
||||
kill_influencer_search_agent.sh
|
||||
Reference in New Issue
Block a user