aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2019-07-08 23:46:25 +0200
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2019-07-08 23:46:25 +0200
commit7d396c7d3de6acbbc4badaf4108af34e8b5906c3 (patch)
treee241a28d8e3f21297cb068ba372f95266d741eed
parent81093f5018b1a46a0ab8f78b3738bd6d57d5d76d (diff)
add hint to siteurl config variable
-rw-r--r--config_sample.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/config_sample.rb b/config_sample.rb
index 833bcab..522b361 100644
--- a/config_sample.rb
+++ b/config_sample.rb
@@ -27,6 +27,11 @@
# $conf.vcs = "git"
# Change only if the url is not determined correctly (e.g. at the start page)
+# the default is:
+# $conf.siteurl = "#{protocol}://#{$cgi.server_name}#{port}#{$cgi.script_name.gsub(/[^\/]*$/,"")}"
+# you may adjust it and replace the magic guessing with something like:
+# $conf.siteurl = "https://dudle.example.org#{$cgi.script_name.gsub(/[^\/]*$/,"")}"
+# or even
# $conf.siteurl = "http://example.org:9999/exampledir"
# You may insert some sites, which are under your site