67 lines
1.9 KiB
Plaintext
67 lines
1.9 KiB
Plaintext
|
|
server {
|
|||
|
|
listen 443 ssl;
|
|||
|
|
server_name www.jennie.im;
|
|||
|
|
|
|||
|
|
ssl_certificate /data/tengine/certificate/jennie.im.crt;
|
|||
|
|
ssl_certificate_key /data/tengine/certificate/jennie.im.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.im;
|
|||
|
|
return 301 https://$host$request_uri;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
nohup env PYTHONPATH=/data/webapps/test_influencer_search_agent python -m dialogue.influencer_search > /data/webapps/test_influencer_search_agent/log/influencer_search_20150318-19:34:06.log 2>&1 &
|
|||
|
|
|
|||
|
|
|
|||
|
|
sit_fly_moon|sit_fly_moon_partner|sit_flymoon_task
|
|||
|
|
|
|||
|
|
|
|||
|
|
sit_fly_moon_web|sit_jenniefy_web|sit_scalelink_frontend|test_fly_moon_web|test_deeplink_merchant|test_deeplink_merchant_foreign|test_deeplink_merchant_saas|test_jenniefy_web|test_scalelink_frontend
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|