[HOW-TO] Configure Reverse Proxy using the QNAP Apache with SSL support

Post your questions about Web Server usage and Apache + PHP + MySQL/SQLite web applications.
Post Reply
VikingOy
New here
Posts: 7
Joined: Tue Feb 08, 2022 8:24 pm

Re: [HOW-TO] Configure Reverse Proxy using the QNAP Apache with SSL support

Post by VikingOy »

Yes and no 😮
I forgot (lost) my password, so I created a new.
But now I've found it again - so now I have two

(that rimed) 😂
User avatar
OneCD
Guru
Posts: 12010
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [HOW-TO] Configure Reverse Proxy using the QNAP Apache with SSL support

Post by OneCD »

Ah, no worries mate. :)

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
thechez
New here
Posts: 8
Joined: Thu Dec 25, 2014 9:47 pm

Re: [HOW-TO] Configure Reverse Proxy using the QNAP Apache with SSL support

Post by thechez »

thechez wrote: Sun Feb 20, 2022 3:12 am This is what I have in my custom.conf file:

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
<VirtualHost *:8081>
ServerName xxxx.com
ProxyPass / http://x.x.x.x:4040/
ProxyPassReverse / http://x.x.x.x:4040/
SSLEngine on
SSLCertificateKeyFile /share/CACHEDEV1_DATA/Certificates/38186601_xxxx.key
SSLCertificateFile /share/CACHEDEV1_DATA/Certificates/38186601_xxxx.cert
</VirtualHost>

<VirtualHost *:81>
ServerName xxxx.com
Redirect / https://xxxx.com/
</VirtualHost>
Bump anyone?
User avatar
oyvindo
Experience counts
Posts: 1399
Joined: Tue May 19, 2009 2:08 am
Location: Norway, Oslo

Re: [HOW-TO] Configure Reverse Proxy using the QNAP Apache with SSL support

Post by oyvindo »

OneCD wrote: Sun Feb 20, 2022 4:13 am BTW: Viking, did you lose access to your previous forum account? :S
No 😉 I did not, but In a brief mistake I thought I had and created a new, so now I have two.
ImageImageImage
User avatar
oyvindo
Experience counts
Posts: 1399
Joined: Tue May 19, 2009 2:08 am
Location: Norway, Oslo

Re: [HOW-TO] Configure Reverse Proxy using the QNAP Apache with SSL support

Post by oyvindo »

thechez wrote: Mon Jul 04, 2022 9:58 pm Bump anyone?
Check out Chapter 5 in the guide:

Code: Select all

But we need to make two changes to the apache.conf file; 
•	Add a listen setting for port 81
ImageImageImage
User avatar
OneCD
Guru
Posts: 12010
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [HOW-TO] Configure Reverse Proxy using the QNAP Apache with SSL support

Post by OneCD »

oyvindo wrote: Mon Jul 04, 2022 10:17 pm
OneCD wrote: Sun Feb 20, 2022 4:13 am BTW: Viking, did you lose access to your previous forum account? :S
No 😉 I did not, but In a brief mistake I thought I had and created a new, so now I have two.
Yes, you already responded here: viewtopic.php?p=812138#p812138 ;)

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
thechez
New here
Posts: 8
Joined: Thu Dec 25, 2014 9:47 pm

Re: [HOW-TO] Configure Reverse Proxy using the QNAP Apache with SSL support

Post by thechez »

Well....it was worth a shot. I realized I hadn't added port 81 but that still isn't working. I think I'll try what QNAP is selling instead:
https://www.qnap.com/en/how-to/tutorial ... onnections
Post Reply

Return to “Web Server & Applications (Apache + PHP + MySQL / SQLite)”