Have you seen this?:

https://guacamole.apache.org/doc/0.9.7/gug/proxying-guacamole.html

I also realise you've specifically asked about Apache HTTPS proxy. I've not done this, so cannot comment directly, however you may find some information by searching the archives, for example: https://lists.apache.org/list?user@guacamole.apache.org:2022-12:https%20proxy


On 23/05/23 19:22, Eby Mani wrote:
Are there any proper guide on how to setup guacamole with apache2 https reverse 
proxy ?.

I tried setting up guacamole with apache2, with "https://example-domain-name"; 
the default ubuntu apache2 webpage would open.

"https:///example-domain-name/guacamole"; will throw some certificate error. Had 
to remove apache2 and setup guacamole with ngnix, reverse proxy is working fine over 
https !!!!.

my old apache2 config,

1, /etc/apache2/sites-available/guacamole.html
2, enabled guacamole.html
3, disabled 000-default
4, restarted apache2
5, ran certbot --apache
6, restarted guacd, tomcat9 and apache2

contents of guacamole.html

<VirtualHost *:80>
     ServerName "example-domain-name"
     ServerAlias "example-domain-name"

     Redirect permanent / https://example-domain-namee/
</VirtualHost>

<VirtualHost *:443>
     ServerName "example-domain-name"
     ServerAlias "example-domain-name"

     <If "%{HTTP_HOST} == 'www.example-domain-name'">
     Redirect permanent / https://"example-domain-name"/
     </If>

     ErrorLog /var/log/apache2/example-domain-name-error.log
     CustomLog /var/log/apache2/example-domain-name-access.log combined

     SSLEngine On
     SSLCertificateFile /etc/letsencrypt/live/piitpl.co.in/fullchain.pem
     SSLCertificateKeyFile /etc/letsencrypt/live/piitpl.co.in/privkey.pem

     <Location /guacamole/>
         Order allow,deny
         Allow from all
         ProxyPass http://127.0.0.1:8080/guacamole/ flushpackets=on
         ProxyPassReverse http://127.0.0.1:8080/guacamole/
     </Location>

     <Location /guacamole/websocket-tunnel>
         Order allow,deny
         Allow from all
         ProxyPass ws://127.0.0.1:8080/guacamole/websocket-tunnel
         ProxyPassReverse ws://127.0.0.1:8080/guacamole/websocket-tunnel
     </Location>

</VirtualHost>


Thanks,

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org

Reply via email to