diff options
| author | frju365 <win10@tutanota.com> | 2018-08-25 00:45:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-25 00:45:54 +0200 |
| commit | 16cfcba4e1571b11710e0b084770ce462430677e (patch) | |
| tree | f9e52f5e56101081ef9d2d25bd23690f4dac7004 /scripts/install | |
| parent | 9f983fa602a525d83109d26f3a5e72f5dfa9235f (diff) | |
| download | mastodon_ynh-16cfcba4e1571b11710e0b084770ce462430677e.tar.gz mastodon_ynh-16cfcba4e1571b11710e0b084770ce462430677e.tar.bz2 mastodon_ynh-16cfcba4e1571b11710e0b084770ce462430677e.zip | |
[mod] use official helper for nginx
I didn't find any __PATH__ in nginx config... ??
Diffstat (limited to 'scripts/install')
| -rw-r--r-- | scripts/install | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/install b/scripts/install index 5d5bf1e..b33f6ed 100644 --- a/scripts/install +++ b/scripts/install @@ -145,11 +145,7 @@ ynh_setup_source "$final_path/live" "app-mastodon" # 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 #================================================= # CREATE DEDICATED USER |
