保存进度!
This commit is contained in:
@@ -33,7 +33,7 @@ http {
|
||||
#gzip on;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen 8440;
|
||||
server_name localhost;
|
||||
|
||||
#charset koi8-r;
|
||||
@@ -41,8 +41,11 @@ http {
|
||||
#access_log logs/host.access.log main;
|
||||
|
||||
location / {
|
||||
root html;
|
||||
index index.html index.htm;
|
||||
proxy_pass http://10.39.7.183:8080;
|
||||
#index index.html index.htm;
|
||||
proxy_set_header Host $proxy_host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
||||
|
||||
#error_page 404 /404.html;
|
||||
@@ -78,6 +81,48 @@ http {
|
||||
#}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 9040;
|
||||
server_name localhost;
|
||||
|
||||
#charset koi8-r;
|
||||
|
||||
#access_log logs/host.access.log main;
|
||||
|
||||
location / {
|
||||
proxy_pass http://172.18.1.150:9040;
|
||||
#index index.html index.htm;
|
||||
#proxy_set_header Host $proxy_host;
|
||||
#proxy_set_header X-Real-IP $remote_addr;
|
||||
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
||||
|
||||
# location /h3c/new/test/api/gafe/rest {
|
||||
# proxy_pass http://172.18.1.150:9040/h3c/new/test/api/gafe/rest;
|
||||
# #index index.html index.htm;
|
||||
# #proxy_set_header Host $proxy_host;
|
||||
# #proxy_set_header X-Real-IP $remote_addr;
|
||||
# #proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
# }
|
||||
|
||||
# location /h3c/new/api/gafe/rest {
|
||||
# proxy_pass http://172.18.1.150:9040/h3c/new/api/gafe/rest;
|
||||
# #index index.html index.htm;
|
||||
# #proxy_set_header Host $proxy_host;
|
||||
# #proxy_set_header X-Real-IP $remote_addr;
|
||||
# #proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
# }
|
||||
|
||||
#error_page 404 /404.html;
|
||||
|
||||
# redirect server error pages to the static page /50x.html
|
||||
#
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
location = /50x.html {
|
||||
root html;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# another virtual host using mix of IP-, name-, and port-based configuration
|
||||
#
|
||||
|
Reference in New Issue
Block a user