logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


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

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Proxy to my nas
Author
bagu



Joined: 06 Jan 2011
Posts: 193
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: 3092
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: 193
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: 188
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


Reply to topic   Topic: Proxy to my nas View previous topic :: View next topic
Post new topic   Forum Index -> Apache