support reverse proxy through a base URL with subdirectories
Merge pull request #319 from machee/feature/subdirs

support reverse proxy through a base URL with subdirectories