Browse Source

更新 'README.md'

tags/v0.8.0a
yk 2 years ago
parent
commit
5d6db0a986
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      README.md

+ 11
- 0
README.md View File

@@ -180,6 +180,17 @@ server {
add_header Access-Control-Allow-Methods GET,POST,OPTIONS;
}

location /prod-api/ {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://172.17.0.1:8080/;
proxy_redirect default;
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Headers X-Requested-With;
add_header Access-Control-Allow-Methods GET,POST,OPTIONS;
}

error_page 500 502 503 504 /50x.html;

location = /50x.html {


Loading…
Cancel
Save