Apache Reverse Proxy to Proxmox... yes please!

preview_player
Показать описание
Have an apache server? Are you using proxmox? Let's use your apache server to serve your proxmox user interface with an SSL certificate. Let's get rid of those "Unsafe website" messages, because mindlessly clicking continue to unsafe websites is a bad habit.

This video goes over setting up a virtual host in apache to act as a reverse proxy to your Proxmox server. This is useful for applying SSL certificates through Apache that will be applied to your proxmox server. Say goodbye to irritating "unsafe website" warnings.

Apache enable modules command:
`sudo a2enmod ssl proxy rewrite proxy_http proxy_wstunnel headers alias setenvif`

Apache enable site:

Apache reload:
`sudo service apache2 reload`

Рекомендации по теме
Комментарии
Автор

Thank you so much! Looked everywhere for a working Apache reverse proxy config, none of them fully worked (i.e. the TTY console). Your config did the trick - thanks again!!!

MnemonicCarrier
Автор

Great video! You even explained some lines in the code that I now understand. I tried your config and it works with my proxmox instance. But what if I want to proxy it into a path, like doman/proxmox/?
I changed some lines like proxypass and location to use /proxmox/, but I get application error and code 404 in the console. Apache did not write any logs since the connection was accepted. Any ideas?

kaprusty