mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Small fix
This commit is contained in:
parent
19d976368e
commit
ce7f4a1910
3 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue