mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
[mod] Use nginx Helper.
See mod for install
This commit is contained in:
parent
16cfcba4e1
commit
29399adc3d
1 changed files with 5 additions and 5 deletions
|
@ -121,11 +121,11 @@ ynh_secure_remove $final_path/live/config/initializers/timeout.rb
|
|||
# NGINX CONFIGURATION
|
||||
#=================================================
|
||||
|
||||
# TODO: use official helper ynh_add_nginx_config
|
||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||
sed -i "s@__PATH__@$app@g" ../conf/nginx.conf*
|
||||
sed -i "s@__FINALPATH__@$final_path@g" ../conf/nginx.conf*
|
||||
cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf
|
||||
ynh_add_nginx_config
|
||||
|
||||
#=================================================
|
||||
# UPGRADE MASTODON
|
||||
#=================================================
|
||||
|
||||
# Upgrade rbenv and ruby plugins
|
||||
ynh_setup_source "$final_path/.rbenv" "app-rbenv"
|
||||
|
|
Loading…
Add table
Reference in a new issue