logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



Proxy to my nas

 
Post new topic   Reply to topic    Apache Forum Index -> Apache



View previous topic :: View next topic  
Author Message
bagu



Joined: 06 Jan 2011
Posts: 129
Location: France

PostPosted: Mon 18 Sep '17 12:38    Post subject: Proxy to my nas Reply with quote

Hello,

I have a nas with a web interface and my web server is on an other computer.

So, i search a way to redirect request on https://my.nas.me:443 to my nas trought my web server.

I try this :
Code:
<VirtualHost my.nas.me:443>
   ServerName my.nas.me
   ProxyRequests Off
   <Proxy *>
      Require all granted
   </Proxy>

   ProxyPass / https://192.168.0.43:443/
   ProxyPassReverse / https://192.168.0.43:443/
   <Location />
      Require all granted
   </Location>
</VirtualHost>


Without luck. Can you help me ?
Thanks
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 2580
Location: Hilversum, NL, EU

PostPosted: Mon 18 Sep '17 13:38    Post subject: Reply with quote

What is the error ?

Does this work:

ProxyPass / http://192.168.0.43/
ProxyPassReverse / http://192.168.0.43/

?
Back to top
bagu



Joined: 06 Jan 2011
Posts: 129
Location: France

PostPosted: Mon 18 Sep '17 16:45    Post subject: Reply with quote

no, it redirect me to the default virtualhost.

But if i try http://192.168.0.43/ (redirected to https) or https://192.168.0.43/ in firefox, i have the web interface of my nas
Back to top
jraute



Joined: 13 Sep 2013
Posts: 187
Location: Rheinland, Germany

PostPosted: Tue 19 Sep '17 12:40    Post subject: Re: Proxy to my nas Reply with quote

Hello, that sounds a bit like a synology-nas (cuz of the url). Anyway, we need some more information:

Did you configure firewall rules in your nas?
Did you configure a working dynamic dns service?
Did you configure a port forwarding on your router?
What kind of error do you get? Timeouts?
...

Please give some more information and we can try to help you. Smile
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1