Sfoglia il codice sorgente

fix: data folder is accessible warning

wernerfred 4 anni fa
parent
commit
e53e8718c5
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      entrypoint.sh

+ 3 - 0
entrypoint.sh

@@ -1,5 +1,8 @@
 #!/bin/bash
 
+# Add .htacces according to https://www.rainloop.net/docs/installation/#notice
+echo "Require all denied" > /rainloop/data/.htaccess
+
 # Set rainloop directory permissions to catch bind mounts too
 chown -R www-data:www-data /rainloop/data
 find /rainloop -type d -exec chmod 755 {} \;