[GH-ISSUE #465] Apache Reverse config noVNC #345

Open
opened 2026-02-27 16:38:57 +03:00 by kerem · 1 comment
Owner

Originally created by @ITFactoryAUT on GitHub (Oct 21, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/465

Hello,
could you provide a config for an apache reverse proxy with ssl enabled?
With the default config the vnc console is not working (code 1006)

Originally created by @ITFactoryAUT on GitHub (Oct 21, 2014). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/465 Hello, could you provide a config for an apache reverse proxy with ssl enabled? With the default config the vnc console is not working (code 1006)
Author
Owner

@lukasmrtvy commented on GitHub (Aug 17, 2015):

Here:

WSGISocketPrefix /var/run/apache2/wsgi
<VirtualHost *:8080>
    ServerAdmin webmaster@dummy-host.example.com
    ServerName meinserver.xx

        SSLEngine on
        SSLCertificateFile      /etc/ssl/star.example.com.crt
        SSLCertificateKeyFile   /etc/ssl/star.example.com.key
        SSLCertificateChainFile  /etc/ssl/castar.example.com.crt

    WSGIDaemonProcess webvirtmgr display-name=%{GROUP} python-path=/var/www/webvirtmgr
    WSGIProcessGroup webvirtmgr
    WSGIScriptAlias / /var/www/webvirtmgr/webvirtmgr/wsgi.py

    Alias /static /var/www/webvirtmgr/webvirtmgr/static/
    Alias /media /var/www/webvirtmgr/webvirtmgr/media/

    <Directory /var/www/webvirtmgr/webvirtmgr>
        <Files wsgi.py>
            Order deny,allow
            Allow from all
        </Files>
    </Directory>

    CustomLog ${APACHE_LOG_DIR}/webvirtmgr-access_log common
    ErrorLog ${APACHE_LOG_DIR}/webvirtmgr-error_log
</VirtualHost>
<!-- gh-comment-id:131780144 --> @lukasmrtvy commented on GitHub (Aug 17, 2015): Here: ``` WSGISocketPrefix /var/run/apache2/wsgi <VirtualHost *:8080> ServerAdmin webmaster@dummy-host.example.com ServerName meinserver.xx SSLEngine on SSLCertificateFile /etc/ssl/star.example.com.crt SSLCertificateKeyFile /etc/ssl/star.example.com.key SSLCertificateChainFile /etc/ssl/castar.example.com.crt WSGIDaemonProcess webvirtmgr display-name=%{GROUP} python-path=/var/www/webvirtmgr WSGIProcessGroup webvirtmgr WSGIScriptAlias / /var/www/webvirtmgr/webvirtmgr/wsgi.py Alias /static /var/www/webvirtmgr/webvirtmgr/static/ Alias /media /var/www/webvirtmgr/webvirtmgr/media/ <Directory /var/www/webvirtmgr/webvirtmgr> <Files wsgi.py> Order deny,allow Allow from all </Files> </Directory> CustomLog ${APACHE_LOG_DIR}/webvirtmgr-access_log common ErrorLog ${APACHE_LOG_DIR}/webvirtmgr-error_log </VirtualHost> ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#345
No description provided.