retspen / webvirtmgr

WebVirtMgr panel for manage virtual machine
http://retspen.github.io
2.05k stars 537 forks source link

I was able to configure the noVNC proxy address? #368

Closed tossp closed 10 years ago

tossp commented 10 years ago

/console/webvirtmgr-novnc

#line 11
LISTEN_PORT = '3389'

/console/views.py

#line 10
WS_PORT = 3389
WS_HOST = 'internet ip'

// line 39
    wsproxy_port = WS_PORT
    #wsproxy_host = request.get_host()
    wsproxy_host = WS_HOST

There are better ways to configure it?

Thanks to google translator :)

retspen commented 10 years ago

Yes you are right. But I can move WS_PORT and WS_HOST to the file settings.py like global variables.

retspen commented 10 years ago

Done - f14d31eef5fd3bddaa048a747166fca6837b6485