diff --git a/conf/settings.yml b/conf/settings.yml index 92c22fe..49c112e 100644 --- a/conf/settings.yml +++ b/conf/settings.yml @@ -69,7 +69,7 @@ server: # instance's environment (make buildenv) port: 8888 bind_address: "127.0.0.1" - base_url: false # Possible values: false or "https://example.org/location". + base_url: "__FULL_URL__" # Possible values: false or "https://example.org/location". limiter: false # rate limit the number of request on the instance, block some bots # If your instance owns a /etc/searxng/settings.yml file, then set the following diff --git a/scripts/install b/scripts/install index 9547264..6608600 100755 --- a/scripts/install +++ b/scripts/install @@ -147,6 +147,7 @@ pip3 install -e "$final_path" ynh_script_progression --message="Adding a configuration file..." --weight=1 secret_key=$(ynh_string_random) +full_url="https://$domain$path" ynh_add_config --template="../conf/settings.yml" --destination="$final_path/searx/settings.yml" # FIXME: this should be handled by the core in the future