Update gunicorn.conf

pull/109/head
midoks 4 years ago
parent b406ba7e21
commit 40d24d68f5
  1. 4
      rewrite/nginx/gunicorn.conf

@ -1,3 +1,7 @@
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS';
location / {
proxy_pass http://127.0.0.1:8000; # 这里是指向 gunicorn host 的服务地址
proxy_set_header Host $host;

Loading…
Cancel
Save