linux - fix unknown scheme error and do nginx reload as root in UI

This commit is contained in:
bunkerity
2021-08-18 13:38:09 +02:00
parent 8a4eb3f2a3
commit fde14d1621
6 changed files with 16 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ User=nginx
Group=nginx
WorkingDirectory=/opt/bunkerized-nginx/ui
EnvironmentFile=/opt/bunkerized-nginx/ui/variables.env
ExecStart=gunicorn --bind 127.0.0.1:5000 -m 007 wsgi:app
ExecStart=gunicorn --config config.py --bind 127.0.0.1:5000 -m 007 wsgi:app
[Install]
WantedBy=multi-user.target