2014-06-17, 01:46
(2014-06-15, 23:56)sp8ced21 Wrote: hey all, need some guidance on reverse proxy on synology Nas seems i thought it was done but it was not. i can get it working fine on local machine but cant figure where i need to create or place below code in synology nas.
does anyone know where i need to put the below to get reverse proxy working correctly as im not sure which dir it goes into ive found /etc/httpd/conf, and ive tried adding below to it in the virtual host section but no joy, tried it in httpd.conf-user aswell has anyone done it that can point me in the right direction?
PHP Code:AllowEncodedSlashes On
<Location /xbmc-vfs>
ProxyPass http:/xbmc.example.com:8080/vfs
ProxyPassReverse http://my.ip:portxbmc.example.com:8080/vfs
RequestHeader set Authorization "Basic eGJtYzp4Ym1j"
</Location>
Should be :
PHP Code:
AllowEncodedSlashes On
<Location /xbmc-vfs>
ProxyPass http:/xbmc.example.com:8080/vfs
ProxyPassReverse http:/xbmc.example.com:8080/vfs
RequestHeader set Authorization "Basic eGJtYzp4Ym1j"
</Location>
For more informations see that : https://github.com/Jalle19/xbmc-video-se...roxy-linux