Commit e14b1311 authored by ι™ˆεΈ…'s avatar ι™ˆεΈ…

change proxy_pass to netlify

parent 0dfe2150
...@@ -14,7 +14,7 @@ server { ...@@ -14,7 +14,7 @@ server {
try_files $uri $uri/ /index.html; try_files $uri $uri/ /index.html;
} }
location /api { location /api {
proxy_pass https://preview.pro.ant.design; proxy_pass https://ant-design-pro.netlify.com;
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
} }
......
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