Score:0

Apache ReverseProxy keeps redirecting to another virtual hosts

lu flag

I have apache as a reverse proxy for Webmin (port 10000) backend. Both are on the same server. Here's my config file:

<VirtualHost *:*>
    ProxyPreserveHost On
    ServerName srvadm.****.com
    ErrorLog /var/log/virtualmin/srvadm.****.com_error_log
    CustomLog /var/log/virtualmin/srvadm.****.com_access_log combined
    SSLEngine on
    SSLCertificateKeyFile /etc/ssl/virtualmin/1671358010432332/ssl.key
    SSLCertificateFile  /etc/ssl/virtualmin/1671358010432332/ssl.cert
    ProxyPass / https://localhost:10000/
    ProxyPassReverse / https://localhost:10000/
</VirtualHost>

However, I consistently receive a 301 redirect to another virtual host. I'm not sure if this is relevant, but the error log displays the following line:

server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)

How can

Blockquote

I fix that?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.