mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
[mod] use official helper for nginx
I didn't find any __PATH__ in nginx config... ??
This commit is contained in:
parent
9f983fa602
commit
16cfcba4e1
1 changed files with 1 additions and 5 deletions
|
@ -145,11 +145,7 @@ ynh_setup_source "$final_path/live" "app-mastodon"
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# TODO: use official helper ynh_add_nginx_config
|
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
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CREATE DEDICATED USER
|
# CREATE DEDICATED USER
|
||||||
|
|
Loading…
Reference in a new issue