需要配置服务文件使得gunicorn代理生效:
vi /etc/systemd/system/gunicorn_x2openEuler.service
Environment=“http_proxy=http://"
Environment="https_proxy=http://”
编辑完成后使用service gunicorn_x2openEuler restart生效(如果提示重新加载,请按照提示重新加载)
需要配置服务文件使得gunicorn代理生效:
vi /etc/systemd/system/gunicorn_x2openEuler.service
Environment=“http_proxy=http://"
Environment="https_proxy=http://”
编辑完成后使用service gunicorn_x2openEuler restart生效(如果提示重新加载,请按照提示重新加载)