Small fix

This commit is contained in:
Josué Tille 2018-05-10 01:24:20 +02:00
parent 19d976368e
commit ce7f4a1910
3 changed files with 3 additions and 3 deletions

View file

@ -30,7 +30,7 @@ location /seafhttp/ {
location __PATH__/media/ {
alias __FINALPATH__seafile-server-latest/seahub/media/;
alias __FINALPATH__/seafile-server-latest/seahub/media/;
}
location /seafdav {

View file

@ -16,7 +16,7 @@ source ./_common.sh
# Retrive arguments
old_domain=$YNH_APP_OLD_DOMAIN
domain=$YNH_APP_OLD_DOMAIN
domain=$YNH_APP_NEW_DOMAIN
old_path=$(ynh_normalize_url_path ${YNH_APP_OLD_PATH:-'/'})
path_url=$(ynh_normalize_url_path ${YNH_APP_NEW_PATH:-'/'})
seahub_port=$(ynh_app_setting_get $app seahub_port)

View file

@ -101,7 +101,7 @@ echo 'SERVE_STATIC = False' | tee -a $final_path/conf/seahub_settings.py
echo 'MEDIA_URL = "'$path_url2'media/"' | tee -a $final_path/conf/seahub_settings.py
echo 'COMPRESS_URL = MEDIA_URL' | tee -a $final_path/conf/seahub_settings.py
echo "STATIC_URL = MEDIA_URL + 'assets/'" | tee -a $final_path/conf/seahub_settings.py
echo "LOGIN_URL = '"$path2"accounts/login/'" | tee -a $final_path/conf/seahub_settings.py
echo "LOGIN_URL = '"$path_url2"accounts/login/'" | tee -a $final_path/conf/seahub_settings.py
echo "ALLOWED_HOSTS = ['"$domain"']" | tee -a $final_path/conf/seahub_settings.py
# Email configuration