【发布时间】:2021-09-15 22:56:24
【问题描述】:
默认情况下 apache 超集使用内部 webserver 。虽然安装手册说我们可以配置 apache 或 nginx ,但我不知道该怎么做。 有人可以告诉我如何配置 apache webserver 来运行 superset 吗?
【问题讨论】:
标签: apache-superset
默认情况下 apache 超集使用内部 webserver 。虽然安装手册说我们可以配置 apache 或 nginx ,但我不知道该怎么做。 有人可以告诉我如何配置 apache webserver 来运行 superset 吗?
【问题讨论】:
标签: apache-superset
使用gunicorn启动超集webapp,然后使用apache或nginx作为代理转发http请求给它
/gunicorn -w 4 -k gevent --timeout 120 -b 127.0.0.1:6666 --limit-request-line 0 --limit-request-field_size 0 superset:app
nginx 配置为:
location / {
proxy_pass http://127.0.0.1:6666;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
}
【讨论】: