Reverse Proxy: Difference between revisions
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
Utilizing the Web Station package, we will assign the port to the MediaWiki service. In this example, I randomly assigned port 7250 as the HTTPS port. | Utilizing the Web Station package, we will assign the port to the MediaWiki service. In this example, I randomly assigned port 7250 as the HTTPS port. | ||
[[FILE:MediaWiki1.png|center| | [[FILE:MediaWiki1.png|center|800px]] | ||
So now that we know the port that we are listening to on the MediaWiki service, we need to use the Reverse Proxy to make it all work seamlessly. | So now that we know the port that we are listening to on the MediaWiki service, we need to use the Reverse Proxy to make it all work seamlessly. | ||
Line 16: | Line 16: | ||
You simply need to pick a hostname, in this case wiki.aquarian.biz and tell it that we're listening over the HTTPS protocol. The 443 port needs to be supplied as well. For the 'Destination' since we chose the https port of 7250, the localhost needs to map through to that port. | You simply need to pick a hostname, in this case wiki.aquarian.biz and tell it that we're listening over the HTTPS protocol. The 443 port needs to be supplied as well. For the 'Destination' since we chose the https port of 7250, the localhost needs to map through to that port. | ||
[[FILE:MediaWiki2.png|center| | [[FILE:MediaWiki2.png|center|800px]] | ||
Lastly, we need to set up an SSL certificate to allow for this host to be trusted. | Lastly, we need to set up an SSL certificate to allow for this host to be trusted. | ||
This is done using the [[Setup SSL Certificate]] | This is done using the [[Setup SSL Certificate]] |
Latest revision as of 16:46, 12 March 2022
Using this MediaWiki as an example, MediaWiki is an official Synology Package that uses the official Synology Web Station package.
Utilizing the Web Station package, we will assign the port to the MediaWiki service. In this example, I randomly assigned port 7250 as the HTTPS port.
So now that we know the port that we are listening to on the MediaWiki service, we need to use the Reverse Proxy to make it all work seamlessly.
When Setting up the Reverse Proxy through DSM, navigate to the following location:
Control Panel >> Login Portal >> Advanced >> Reverse Proxy
Anything we have coming into a subdomain on aquarian.biz needs to be rerouted to some type of service port. This is so we maintain the HTTPS functionality while not having to forward ports through the router.
You simply need to pick a hostname, in this case wiki.aquarian.biz and tell it that we're listening over the HTTPS protocol. The 443 port needs to be supplied as well. For the 'Destination' since we chose the https port of 7250, the localhost needs to map through to that port.
Lastly, we need to set up an SSL certificate to allow for this host to be trusted.
This is done using the Setup SSL Certificate