Question

Apache reverse proxy

Hi Guys, could you please help me to solve my problem?

I’ve multiple webservers (for private use) behind the firewall and Apache reverse proxy (with VirtualHost) on my private network. Now I added a QNAP NAS with domaine name like nas.myqnapcloud.com with SSL installed on the NAS. I can connect to my NAS from internet when I by-pass the proxy but with proxy I don’t know the correct redirection rule to be added to the VirtualHost file in order to redirect the port 443 to my NAS

Anyone have a idea? Thanks for your help Raph.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey friend,

You can add reverse proxy rules to an SSL virtual host in the same way that you add it to a non-SSL virtual host. For your reference as well as that of anyone else reading, you can find instructions for creating a reverse proxy with Apache here:

https://www.digitalocean.com/community/tutorials/how-to-use-apache-as-a-reverse-proxy-with-mod_proxy-on-ubuntu-16-04

Additional references: https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-16-04 https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-16-04

Jarland