Add this to your Apache VHOST:

ProxyPass /wfmlogindialog.js http://synology.your.domain:5000/wfmlogindialog.js
 ProxyPassReverse /wfmlogindialog.js http://synology.your.domain:5000/wfmlogindialog.js
 ProxyPass /scripts http://synology.your.domain:5000/scripts
 ProxyPassReverse /scripts http://synology.your.domain:5000/scripts
 ProxyPass /synoman http://synology.your.domain:5000/synoman
 ProxyPassReverse /synoman http://synology.your.domain:5000/synoman
 ProxyPass /webman http://synology.your.domain:5000/webman
 ProxyPassReverse /webman http://synology.your.domain:5000/webman
 ProxyPass /webapi http://synology.your.domain:5000/webapi
 ProxyPassReverse /webapi http://synology.your.domain:5000/webapi
 ProxyPass /sharing http://synology.your.domain:5000/sharing
 ProxyPassReverse /sharing http://synology.your.domain:5000/sharing
 ProxyPass /synoSDSjslib http://synology.your.domain:5000/synoSDSjslib
 ProxyPassReverse /synoSDSjslib http://synology.your.domain:5000/synoSDSjslib
 ProxyPass /downloads http://synology.your.domain:5000/fsdownload/3L5GsHTsz/web
 ProxyPassReverse /downloads http://synology.your.domain:5000/fsdownload/3L5GsHTsz/web
 ProxyPass /fsdownload http://synology.your.domain:5000/fsdownload
 ProxyPassReverse /fsdownload http://synology.your.domain:5000/fsdownload
 ProxyPreserveHost On
Advertisements