Skip to content

Conversation

@jkupersmith
Copy link
Contributor

I'd like to host my peach docs instance from a non-root path of my webserver, for example; example.com/peach instead of peach.example.com.

I would like to add the APP_ROOT key to the site section of app.ini. This setting will prepend APP_ROOT to all routes and URLs served by peach itself and by the default template files.

It's possible to do some of this by rewriting the path when proxying a request but this only works if you can rewrite the application responses as well.

app.ini for example.com/peach:

[site]
APP_ROOT = /peach

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant