How To Load Apache Proxy Module in Qnap
Contents
Log in to the Qnap as administrator via SSH.
To View the list of avaliable Apache modules, go to
|
|
To view those modules have already load, open this file
|
|
You should add proxy modules to the main configuration of Apache, showed as below, not the apache-default-modules.conf
|
|
Just append these lines into the conf
|
|
Create a new virtual host configuration through qnap web UI , by going to
Main Menu > Control Panel > Applications > Web Server > Virtual Host > Create New Virtual Host.
Fill in your virtual host information as you like in the correct position, such as
|
|
Now open the configuration of user vhost , /etc/config/apache/extra/httpd-vhosts-user.conf
|
|
Update some options to support proxy module that client can browse web application behind apache whose port is 8080.
|
|
At last, restart Apache service.
|
|
BOOM!!! 😉 Enjoy yourself.
Author Jeff Chan
LastMod 2020-03-14