Commit 45752fef authored by wolfocde's avatar wolfocde

update

parent cdcfea6f
......@@ -24,12 +24,12 @@ server {
listen 80;
root /your_blog_path/public;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
location / {
if (!-f $request_filename){
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
if (!-f $request_filename){
proxy_pass http://127.0.0.1:8787;
}
}
......
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