1 Star 0 Fork 17

智能时代/dts双轨制会员积分系统

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nginx.local.conf 1.63 KB
一键复制 编辑 原始数据 按行查看 历史
从无到有 提交于 2017-12-26 20:44 . web client files.
#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
include /usr/local/etc/nginx/mime.types;
default_type application/octet-stream;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';
#access_log logs/access.log main;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
#gzip on;
server {
listen 8181;
server_name localhost;
#charset koi8-r;
#access_log logs/host.access.log main;
root /Users/madapeng/myCode/cyh/src/kingbloc.web;
index index index.html;
location ~ .*\.(sh|bash)?$
{
return 403;
}
location /api/sso/ {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $http_host;
proxy_pass http://localhost:2210/;
}
location /api/server/ {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $http_host;
proxy_pass http://localhost:2222/;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/rxtech/dtsShuangGuiZhiHuiYuanJiFenXiTong.git
git@gitee.com:rxtech/dtsShuangGuiZhiHuiYuanJiFenXiTong.git
rxtech
dtsShuangGuiZhiHuiYuanJiFenXiTong
dts双轨制会员积分系统
master

搜索帮助