aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2017-04-20 16:37:01 +0200
committerGitHub <noreply@github.com>2017-04-20 16:37:01 +0200
commit39075ce06dbfeeec8f8b33c5440c789013abd366 (patch)
tree2498d1c622003503d30d637e6f6a1963656a88c2 /scripts
parentf62443160afc62e0bce26264a86248fa7cbdb756 (diff)
parent12a64f8f9470ac2bc057c0bdd8eb67ac7be2ad78 (diff)
downloadmastodon_ynh-39075ce06dbfeeec8f8b33c5440c789013abd366.tar.gz
mastodon_ynh-39075ce06dbfeeec8f8b33c5440c789013abd366.tar.bz2
mastodon_ynh-39075ce06dbfeeec8f8b33c5440c789013abd366.zip
Merge pull request #1 from magikcypress/patch-1
Add Unprotected url
Diffstat (limited to 'scripts')
-rw-r--r--scripts/install5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/install b/scripts/install
index 2879646..871e132 100644
--- a/scripts/install
+++ b/scripts/install
@@ -192,11 +192,14 @@ sudo sed -i "s@__APP__@$app@g" /etc/cron.d/$app
# Restart crontab
sudo systemctl restart cron
-# Set app public
+# Unprotected url
ynh_app_setting_set "$app" unprotected_uris "/"
# Reload SSOwat configuration
sudo yunohost app ssowatconf
+# Reload SSOwat configuration
+sudo yunohost app ssowatconf
+
# Reload Nginx
sudo systemctl reload nginx