Here is how:
Navigate to /etc/apache2/sites-available/
Edit the file 'default' (with nano or something like that, need sudo rights)
Just before the </VirtualHost> you can add the following:
Code: Select all
<Location /calender>
ProxyPass http://localhost:[nzbdroneport]/feed/calender
ProxyPassReverse http://localhost:[nzbdroneport]/feed/calender
RequestHeader set Authentication "Basic [basickey]"
</Location>
@[basickey] = Enter user:password encrypted with base64, use a site like this and input user:pass. This will give you a string looking somewhat like this: dXNlcjpwYXNz
After completing these steps you can go ahead and add http://[yourip/hostname]/calender/NzbDrone.ics into google.
NOTE: You can change the Location /[foldername] to anything you'd like!