diff options
author | Robin Houston <robin@lenny.robin> | 2011-07-14 04:51:18 +0100 |
---|---|---|
committer | Robin Houston <robin@lenny.robin> | 2011-07-14 04:51:18 +0100 |
commit | b0e3f1e6f1147d65dd802d7a618f7e321b816acc (patch) | |
tree | 14440902066d6c08176f78223ae05c9417460d12 | |
parent | 018f650a59d259c843bc0d2cf159984059578b57 (diff) |
Do not specify ADMIN_BASE_URL in the example config file,
because the dynamic default value will be correct for most
installations.
-rw-r--r-- | config/general.yml-example | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/config/general.yml-example b/config/general.yml-example index cb10ea40e..8a4a0442e 100644 --- a/config/general.yml-example +++ b/config/general.yml-example @@ -56,8 +56,11 @@ ADMIN_PASSWORD: 'passwordx' CONTACT_EMAIL: 'postmaster@localhost' CONTACT_NAME: 'Alaveteli Webmaster' -# The base URL for admin pages. You probably don't want to change this. -ADMIN_BASE_URL: '/admin/' +# The base URL for admin pages. +# If not specified, it will default to the path to the admin controller, +# which is usually what you want. It is useful in situations where admin +# requests are proxied via a secure server, for example. +# ADMIN_BASE_URL: '/admin/' # Where /stylesheets sits under for admin pages. See asset_host in # config/environment.rb. Can be full domain or relative path (not an |