Skip to content

Commit

Permalink
Add template option for setting contextPath
Browse files Browse the repository at this point in the history
Fixes #4774
  • Loading branch information
ProTip committed Jun 4, 2019
1 parent 992b48c commit dbac2e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/official/README.md
Expand Up @@ -103,6 +103,11 @@ to a default for getting started, this should be set manually for more advanced
Controls the base URL the app will use for links, redirects, etc.
This is the URL users will use to access the site.

### `RUNDECK_SERVER_CONTEXTPATH=/`

Set to path Rundeck is running under(i.e. `http://localhost/rundeck`). Useful if running Rundeck
behind a reverse proxy under a path on the hostname.

### `RUNDECK_GRAILS_UPLOAD_MAXSIZE`

Controls both the `maxFileSize` and `maxRequest` for the grails controller config.
Expand Down
1 change: 1 addition & 0 deletions docker/official/remco/templates/rundeck-config.properties
Expand Up @@ -7,6 +7,7 @@ rss.enabled=false

# Bind address and server URL
server.address={{ getv("/rundeck/server/address", "0.0.0.0") }}
server.contextPath={{ getv("/rundeck/server/contextpath", "/") }}
grails.serverURL={{ getv("/rundeck/grails/url", "http://127.0.0.1:4440") }}

server.session.timeout={{ getv("/rundeck/server/session/timeout", "3600") }}
Expand Down

0 comments on commit dbac2e5

Please sign in to comment.