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 webmaster@localhost
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!
 

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

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top