Commit 4aa8e6b2 by wutong

Nginx CD/CI

parent 07fab42f
...@@ -74,8 +74,8 @@ http { ...@@ -74,8 +74,8 @@ http {
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
root /usr/share/nginx/html; ## root /usr/share/nginx/html;
try_files $uri $uri/ /index.html last; ## try_files $uri $uri/ /index.html last;
proxy_pass http://baidu; proxy_pass http://baidu;
} }
location = /50x.html { location = /50x.html {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment