mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-25 23:55:57 +03:00
[GH-ISSUE #279] Install guide broken on debian #221
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Apr 12, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/279
I am running debian 8 jessie. i know its alpha but i am sure the configuration did not change since 7 regarding nginx etc.
I followed step-by-step that guide https://github.com/retspen/webvirtmgr/wiki/Install-WebVirtMgr and i was unable to get it working
First, the /etc/nginx/sites-available/default file is always loaded instead of the newly created /etc/nginx/conf.d/webvirtmgr.conf
After deleting or moving that default file to somewhere else, e.g. /root, and reloading nginx, a login site appears. Unfortunately the html/css/js is completly broken. I have no idea where the files are located, nor do i know what needs configuration changes to get that working.
@ghost commented on GitHub (Apr 12, 2014):
server {
listen 80;
# full path to the project dir - the dir that contains the urls.py file
root /var/www/webvirtmgr/webvirtmgr;
access_log /var/log/nginx/webvirtmgr_access_log;
location / {
proxy_pass http://127.0.0.1:8000;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-for $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $remote_addr;
}
location /static/{
# The path to the actual project directory here - the one which contains the static/
# dir holding the static files for this project
root /var/www/webvirtmgr/webvirtmgr;
}
}
when someone follows the guide, this is the "correct" config for nginx. either delete the old one in /etc/nginx/sites-available/default and create another one with the content above in /etc/nginx/conf.d/webvirtmgr.conf or change the content of the default file - unfortunately i am not that familiar with nginx so i have no working version for that.
@retspen commented on GitHub (Apr 14, 2014):
When you add config webvirtmgr.conf you need change parametr
server_name domain.test;and don't need remove default nginx config.