How can I change the root route?

(raj) #1

Hi There,

I would like to deploy the application not at the root level ex: but i would like to deploy it under

Thanks in advance.

(Sam Saffron) #2

Try searching for “subfolder howto”

(raj) #3

Got it.

Here is the info for anyone who needs it.

You can configure the root path in

# set to relative URL (for subdirectory hosting)
# IMPORTANT: path must not include a trailing /
# EG: /forum
relative_url_root = /talk

(Kane York) #4

You can also put it as DISCOURSE_RELATIVE_URL_ROOT in app.yml .