2014-06-15, 23:56
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?
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>