1 Star 0 Fork 985

langyamorenren / spring-microservice-exam

forked from GuYiTan / sg-exam 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
nginx.conf 613 Bytes
一键复制 编辑 原始数据 按行查看 历史
GuYiTan 提交于 2019-04-22 21:07 . 调整部署文档
user nginx;
worker_processes 2;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
use epoll;
worker_connections 2048;
}
http {
include /etc/nginx/mime.types;
# include /etc/nginx/conf.d/*.conf;
root /usr/share/nginx/html;
index index.html index.htm;
upstream gateway-service {
server gateway-service:8000 max_fails=3 fail_timeout=30s;
}
server {
listen 80;
server_name localhost;
location ~* /a(pi|uth) {
proxy_pass http://gateway-service;
}
location / {
}
}
}
Java
1
https://gitee.com/langyamorenren/spring-microservice-exam.git
git@gitee.com:langyamorenren/spring-microservice-exam.git
langyamorenren
spring-microservice-exam
spring-microservice-exam
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891