Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
yoho-ansible-roles
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
chunhua.zhang
6 years ago
Commit
14d872abbd517da71356f915eb5dad51728cf345
1 parent
d710a9bb
format
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
22 deletions
roles/openresty/files/java-nginx-config/nginx/conf/vhosts/erp.yoho.yohoops.org.conf
roles/openresty/files/java-nginx-config/nginx/conf/vhosts/message-controller.conf
roles/openresty/files/java-nginx-config/nginx/conf/vhosts/review.conf
roles/openresty/files/java-nginx-config/nginx/conf/vhosts/search.conf
roles/openresty/files/java-nginx-config/nginx/conf/vhosts/uic.conf
roles/openresty/files/java-nginx-config/nginx/conf/vhosts/erp.yoho.yohoops.org.conf
View file @
14d872a
# Interface FOR YOHO ERP SYSTEM
server
{
listen
80
;
server_name
erp
.
yoho
.
yohoops
.
org
;
# only allow local
include
./
local
.
access
.
conf
;
proxy_http_version
1
.
1
;
proxy_set_header
Connection
""
;
access_log
/
Data
/
logs
/
nginx
/
erp
.
yoho
.
yohoops
.
org_access
.
log
fenxi
;
error_log
/
Data
/
logs
/
nginx
/
erp
.
yoho
.
yohoops
.
org_error
.
log
;
# only allow local
include
./
local
.
access
.
conf
;
if
( $
request_method
=
HEAD
) {
return
200
;
}
}
location
/
erp
/ {
...
...
roles/openresty/files/java-nginx-config/nginx/conf/vhosts/message-controller.conf
View file @
14d872a
## message controller
server
{
# only allow local
include
./
local
.
access
.
conf
;
listen
80
;
server_name
message
-
controller
.
yohoops
.
org
;
access_log
/
Data
/
logs
/
nginx
/
message_controller_access
.
log
fenxi
;
error_log
/
Data
/
logs
/
nginx
/
message_controller_error
.
log
;
# only allow local
include
./
local
.
access
.
conf
;
location
/ {
proxy_redirect
off
;
...
...
roles/openresty/files/java-nginx-config/nginx/conf/vhosts/review.conf
View file @
14d872a
## review controller
server
{
# only allow local
include
./
local
.
access
.
conf
;
listen
80
;
server_name
review
.
yoho
.
yohoops
.
org
;
access_log
/
Data
/
logs
/
nginx
/
review_access
.
log
fenxi
;
error_log
/
Data
/
logs
/
nginx
/
review_error
.
log
;
# only allow local
include
./
local
.
access
.
conf
;
location
/ {
proxy_redirect
off
;
proxy_pass
http
://
review
;
...
...
roles/openresty/files/java-nginx-config/nginx/conf/vhosts/search.conf
View file @
14d872a
## review controller
server
{
include
./
local
.
access
.
conf
;
listen
80
;
server_name
search
.
yohoops
.
org
;
access_log
/
Data
/
logs
/
nginx
/
search_access
.
log
fenxi
;
error_log
/
Data
/
logs
/
nginx
/
search_error
.
log
;
# only allow local
include
./
local
.
access
.
conf
;
location
/ {
proxy_redirect
off
;
...
...
roles/openresty/files/java-nginx-config/nginx/conf/vhosts/uic.conf
View file @
14d872a
server
{
# only allow local
include
./
local
.
access
.
conf
;
listen
80
;
server_name
uic
.
yohoops
.
org
;
access_log
/
Data
/
logs
/
nginx
/
uic_access
.
log
fenxi
;
error_log
/
Data
/
logs
/
nginx
/
uic_error
.
log
;
# only allow local
include
./
local
.
access
.
conf
;
location
/ {
limit_req
zone
=
limit_uic_zone
burst
=
5
nodelay
;
...
...
Please
register
or
login
to post a comment