[SOLVED] Can not reverse proxy with Apache2 to Proxy PVE "SOLVED"

muekno

Member
Dec 15, 2023
164
11
18
Solved see post 2
I have quit some revers proxys running to different servers with to be able to use lets Encrypt certificates, but can not get a reverse proxy to PVE running
My current config
Code:
<IfModule mod_ssl.c>
<VirtualHost 172.16.1.245:443>
ServerAdmin mk@muekno.de
ServerName pve.muekno.de
ProxyPreserveHost On
DocumentRoot /var/www/html
ProxyPass /.well-known !
ProxyPass / http://172.16.1.160:8006/
ProxyPassReverse / http://172.16.1.160:8006/
SSLengine on
SSLProxyEngine on
RewriteEngine on
SSLProxyVerify none
SSLProxyCheckPeerName off
SSLProxyCheckPeerCN off
SSLProxyCheckPeerExpire off

# Some rewrite rules in this file were disabled on your HTTPS site,
# because they have the potential to create redirection loops.

# RewriteCond %{SERVER_NAME} =pve.muekno.de
# RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

SSLCertificateFile /etc/letsencrypt/live/pve.muekno.de/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/pve.muekno.de/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>

I did read quite some posts here in the forum, but can not come clear with that
Tanks for any help
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!