From 7d396c7d3de6acbbc4badaf4108af34e8b5906c3 Mon Sep 17 00:00:00 2001 From: Benjamin Kellermann Date: Mon, 8 Jul 2019 23:46:25 +0200 Subject: add hint to siteurl config variable --- config_sample.rb | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3