Browse Source

Fix protocol/port for providing self links in RSS feeds, issuing cookies, etc.

master
Miraty 1 month ago
parent
commit
2049d2e6bc
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      scripts/install

+ 2
- 1
scripts/install View File

@@ -200,7 +200,8 @@ crystal build src/invidious.cr --release
200 200
 
201 201
 # Configure Invidious
202 202
 ynh_replace_string --match_string="domain:" --replace_string="domain: $domain" --target_file=$final_path/config/config.yml
203
-#ynh_replace_string --match_string="domain:" --replace_string="" --target_file=$final_path/config/config.yml
203
+ynh_replace_string --match_string="https_only: false" --replace_string="https_only: true" --target_file=$final_path/config/config.yml
204
+echo "external_port: 443" >> $final_path/config/config.yml
204 205
 echo "default_user_preferences:" >> $final_path/config/config.yml
205 206
 echo "  dark_mode: $dark_mode" >> $final_path/config/config.yml
206 207
 echo "  locale: \"$lang\"" >> $final_path/config/config.yml

Loading…
Cancel
Save