Create gunicorn.conf

This commit is contained in:
midoks
2021-01-05 17:39:58 +08:00
parent 0bc8f670f5
commit aa3a66cf01
+5
View File
@@ -0,0 +1,5 @@
location / {
proxy_pass http://127.0.0.1:8000; # 这里是指向 gunicorn host 的服务地址
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}