Running discourse on non-root path


(Alexey Wasilyev) #1

Hi,

I tries to run discosure as docker container behind nginx on http://my.site/forum path - but it looks like it is hardcoded that discourse always on ‘/’ path - for example after login it’s redirected to ‘/’, ignoring config.action_controller.relative_url_root = ‘/forum’ setting in the config/application.rb. Is it possible to get discourse fully running on non-root path?


(Régis Hanol) #2

Have you tried following this tutorial?


(Jay Pfaffman) #3

You could follow the tutorial, but it’s more difficult to configure and the benefits are few, and even those, dubious.