Skip to content
Snippets Groups Projects
Commit 5b3a6348 authored by Carsten Karbach's avatar Carsten Karbach
Browse files

Do not allow access to root html directory

parent 6c1b4127
Branches
Tags
No related merge requests found
......@@ -42,6 +42,9 @@ RUN a2ensite default-ssl.conf
# Set access rights for www-data, run composer
RUN php /var/www/html/EventsAPI/utils/install.php
# DO not allow access to root doc
RUN echo "deny from all" > /var/www/html/.htaccess
# Default command
CMD ["apachectl", "-D", "FOREGROUND"]
......
......@@ -15,3 +15,4 @@ EventsAPI -- Application for receiving events
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment