Apache 2.4 proxy config


Joined
Jul 6, 2022
Messages
1
Reaction score
0
Hi.

I need to set proxy connection for Apache 2.4.

My current config is not working, however it does not print any errors at starting/restarting Apache

<VirtualHost *:9975>

ServerAdmin [email protected]
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

SSLEngine On

SSLCertificateFile /path/to/cert/cer.crt
SSLCertificateKeyFile /path/to/cert/cer.key

ProxyPass / http://127.0.0.1:9999/appDir/
ProxyPassReverse / http://127.0.0.1:9999/appDir/
</VirtualHost>

Same service is written for NGinx and there it's working. I stopped it and tryied to do same thing at apache. What am I doing wrong?

Thanks!
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top