mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:29:26 +08:00
Update gunicorn.conf
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user