大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。
Jetbrains全系列IDE稳定放心使用
server{
listen 443;
server_name dev-mosale.gblfy.com.cn;
ssl on;
#root /home/klapp;
index index.html index.htm;
ssl_certificate /home/lklapp/gblfy.com.cn_bundle.crt;
ssl_certificate_key /home/lklapp/gblfy.com.cn.key;
ssl_session_timeout 5m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!RC4:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!EXP:+MEDIUM;
ssl_prefer_server_ciphers on;
location /img/ {
root /home/klapp/img_dat;
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /home/klapp;
}
location /klWeChat/ {
root /home/klapp/WeChat_dev;
index index.html;
}
location /wkl/ {
root /home/klapp/wkl_uat;
index index.html;
}
location /airsign/ {
root /home/klapp/airsign_uat;
index index.html;
}
location /download/ {
root /home/klapp;
index index.html;
}
location /html {
root /home/klapp;
index index.html;
}
location /rules/ {
root /nfs;
index index.html;
}
#登录-DEV环境
location /mobile-auth/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8080/mobile-auth/;
proxy_set_header Host $host;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#客户管理-DEV环境
location /microservice-consumer/ {
add_header X-Frame-Options SAMEORIGIN;
client_max_body_size 30m;
proxy_pass http://xxx.xxx.xxx.xxx:8082/microservice-consumer/;
proxy_set_header Host $host;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#建议书DEV环境
location /microservice-propose/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8082/microservice-propose/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#出单-DEV环境
location /policy-backend/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8081/policy-backend/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#消息-DEV环境
location /microservice-active/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8084/microservice-active/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#DEV环境-后台管理
location /product-engine-manage/ {
add_header Content-Security-Policy upgrade-insecure-requests;
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8083/product-engine-manage/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#DEV环境-运维项目
location /mobile-maintenance/ {
add_header Content-Security-Policy upgrade-insecure-requests;
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8083/mobile-maintenance/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#统一接入后台-DEV环境
location /module-uap-console/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8080/module-uap-console/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#统一接入前台-DEV环境
location /module-uap-core/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8080/module-uap-core/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#产品引擎前台-DEV环境
location /module-product-engine/ {
add_header Content-Security-Policy upgrade-insecure-requests;
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8083/module-product-engine/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#产品引擎后台-DEV环境
location /module-product-engine-service/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8081/module-product-engine-service/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#ocr外网访问配置
location /policy-backend-ocr/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8080/policy-backend/;
proxy_set_header Host $host;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
}
server {
################################################################DAT环境##############################
listen 443;
server_name dat-mosale.gblfy.com.cn;
ssl on;
root /home/klapp;
index index.html index.htm;
ssl_certificate /home/lklapp/gblfy.com.cn_bundle.crt;
ssl_certificate_key /home/lklapp/gblfy.com.cn.key;
ssl_session_timeout 5m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!RC4:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!EXP:+MEDIUM;
ssl_prefer_server_ciphers on;
location = /MP_verify_PNfbZninB66txCLn.txt {
default_type text/plain;
return 200 'PNfbZninB66txCLn';
}
location /img/ {
root /home/klapp/img_dat;
index index.html index.htm;
}
location /file/ {
root /home/klapp/rules;
#alias /home/klapp/rules/;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
location /download/ {
root /home/klapp;
index index.html;
}
location /klWeChat/ {
root /home/klapp/WeChat_dat;
index index.html;
}
location /airsign/ {
root /home/klapp/airsign_dat;
index index.html;
}
#登录-DAT环境
location /mobile-auth/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8083/mobile-auth/;
proxy_set_header Host $host;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#客户管理-DAT环境
location /microservice-consumer/ {
add_header X-Frame-Options SAMEORIGIN;
client_max_body_size 30m;
proxy_pass http://xxx.xxx.xxx.xxx:8082/microservice-consumer/;
proxy_set_header Host $host;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#建议书DAT环境
location /microservice-propose/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8080/microservice-propose/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#产品引擎-DAT环境
location /module-product-engine/ {
add_header Content-Security-Policy upgrade-insecure-requests;
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8084/module-product-engine/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#产品引擎服务-DAT环境
location /module-product-service/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8081/module-product-service/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#移动展业-DAT环境
location /policy-backend/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8082/policy-backend/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#影像-DAT环境
location /mobile-image/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8080/mobile-image/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#jenkins部署--DAT环境
location /jenkins/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8080/jenkins/;
proxy_set_header Host $host;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
# OCR idcard 识别
location /ocridcard/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass https://api.gblfyi.com/faceid/v3/ocridcard;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
# OCR bank 识别
location /ocrbank/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass https://api.gblfyi.com/faceid/v3/ocrbankcard;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#ocr外网访问配置
location /policy-backend-ocr/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8080/policy-backend/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#统一接入后台-dat环境
location /module-uap-console/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8083/module-uap-console/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#统一接入前台-dat环境
location /module-uap-core/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8083/module-uap-core/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#消息DAT
location /microservice-active/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8085/microservice-active/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#DAT-后台管理
location /product-engine-manage/ {
add_header Content-Security-Policy upgrade-insecure-requests;
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8081/product-engine-manage/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#DAT-运维项目
location /mobile-maintenance/ {
add_header Content-Security-Policy upgrade-insecure-requests;
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8081/mobile-maintenance/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#禅道
location / {
add_header Content-Security-Policy upgrade-insecure-requests;
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8083/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
}
server {
################################################################UAT环境##############################
listen 443;
server_name uat-mosale.gblfy.com.cn;
ssl on;
root /home/klapp;
index index.html index.htm;
ssl_certificate /home/lklapp/gblfy.com.cn_bundle.crt;
ssl_certificate_key /home/lklapp/gblfy.com.cn.key;
ssl_session_timeout 5m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!RC4:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!EXP:+MEDIUM;
ssl_prefer_server_ciphers on;
large_client_header_buffers 4 16k;
client_max_body_size 30m;
client_body_buffer_size 128k;
proxy_connect_timeout 300;
proxy_read_timeout 6000;
proxy_send_timeout 3000;
proxy_buffer_size 64k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
location = /MP_verify_PNfbZninB66txCLn.txt {
default_type text/plain;
return 200 'PNfbZninB66txCLn';
}
location /img/ {
root /home/klapp/img_uat;
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
location /klWeChat/ {
root /home/klapp/WeChat_uat;
index index.html;
}
location /wkl/ {
root /home/klapp/wkl_uat;
index index.html;
}
location /airsign/ {
root /home/klapp/airsign_uat;
index index.html;
}
location /download/ {
root /home/klapp;
index index.html;
}
location /html {
root /home/klapp;
index index.html;
}
location /rules/ {
root /nfs;
index index.html;
}
location /pdf {
proxy_pass http://xxx.xxx.xxx.xxx;
index index.html;
}
#客户管理-UAT环境
location /mobile-auth/ {
add_header X-Frame-Options SAMEORIGIN;
client_max_body_size 30m;
proxy_pass http://xxx.xxx.xxx.xxx:8083/mobile-auth/;
proxy_set_header Host $host;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#客户管理-UAT环境
location /microservice-consumer/ {
add_header X-Frame-Options SAMEORIGIN;
client_max_body_size 30m;
proxy_pass http://xxx.xxx.xxx.xxx:8082/microservice-consumer/;
proxy_set_header Host $host;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#建议书UAT环境
location /microservice-propose/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8080/microservice-propose/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#产品引擎-UAT环境
location /module-product-engine/ {
add_header Content-Security-Policy upgrade-insecure-requests;
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8080/module-product-engine/;
proxy_set_header Host $host;
client_max_body_size 3000m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#产品引擎服务-UAT环境
location /module-product-service/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8081/module-product-service/;
proxy_set_header Host $host;
client_max_body_size 300m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#灰度发布-UAT环境
location /mp-manager/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8083/mp-manager/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#出单-UAT环境
location /policy-backend/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8081/policy-backend/;
proxy_set_header Host $host;
client_max_body_size 30m;
client_body_buffer_size 1024k;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#影像-UAT环境
location /mobile-image/ {
add_header X-Frame-Options SAMEORIGIN;
add_header Content-Security-Policy upgrade-insecure-requests;
proxy_pass http://xxx.xxx.xxx.xxx:8084/mobile-image/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#统一接入后台-uat环境
location /module-uap-console/ {
add_header Content-Security-Policy upgrade-insecure-requests;
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8083/module-uap-console/;
proxy_set_header Host $host;
client_max_body_size 3000m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#统一接入前台-uat环境
location /module-uap-core/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8083/module-uap-core/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#运维项目-UAT环境
location /mobile-maintenance/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8084/mobile-maintenance/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
# OCR idcard 识别
location /ocridcard/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass https://api.gblfy.com/faceid/v3/ocridcard;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
# OCR bank 识别
location /ocrbank/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass https://api.gblfy.com/faceid/v3/ocrbankcard;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#ocr外网访问配置
location /policy-backend-ocr/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8080/policy-backend/;
proxy_set_header Host $http_host;
client_max_body_size 30m;
client_body_buffer_size 1024k;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#消息UAT
location /microservice-active/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8085/microservice-active/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
#UAT后台管理
location /product-engine-manage/ {
add_header Content-Security-Policy upgrade-insecure-requests;
add_header X-Frame-Options SAMEORIGIN;
proxy_pass http://xxx.xxx.xxx.xxx:8083/product-engine-manage/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
location /dev-wkl/ {
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Methods 'GET,POST';
add_header Access-Control-Allow-Headers 'DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization';
proxy_pass http://xxx.xxx.xxx.xxx/ekl/#/;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
location /h5/ {
add_header X-Frame-Options SAMEORIGIN;
proxy_pass https://h5.gblfyhealth.com.cn;
proxy_set_header Host $host;
client_max_body_size 30m;
proxy_set_header X-Peal-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-PORT 443;
proxy_set_header Z-Forwarded-Ror $proxy_add_x_forwarded_for;
}
}
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/187500.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...