aboutsummaryrefslogtreecommitdiffhomepage
path: root/.dockerignore
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-11-07 14:27:49 +0100
committerArthurHoaro <arthur@hoa.ro>2020-11-07 14:27:49 +0100
commitce901a58289c72bf7f4dc3515a2be70562cd618b (patch)
tree73ad1883bcdbb1ac5c15e4aa9472b53ebde763d4 /.dockerignore
parent8c5f6c786d00310b2e863aa316927effb7bfeedb (diff)
downloadShaarli-ce901a58289c72bf7f4dc3515a2be70562cd618b.tar.gz
Shaarli-ce901a58289c72bf7f4dc3515a2be70562cd618b.tar.zst
Shaarli-ce901a58289c72bf7f4dc3515a2be70562cd618b.zip
Reviewed nginx configuration
Both in documentation and Docker image. For security purpose, it no longer allow to access static files through the main nginx *location*. Static files are served if their extension matches the whitelist. As a side effect, we no longer need specific restrictions, and therefore it fixes the nginx part of #1608.
Diffstat (limited to '.dockerignore')
-rw-r--r--.dockerignore11
1 files changed, 11 insertions, 0 deletions
diff --git a/.dockerignore b/.dockerignore
index 96fd31c5..19fd87a5 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -2,8 +2,16 @@
2.dev 2.dev
3.git 3.git
4.github 4.github
5.gitattributes
6.gitignore
7.travis.yml
5tests 8tests
6 9
10# Docker related resources are not needed inside the container
11.dockerignore
12Dockerfile
13Dockerfile.armhf
14
7# Docker Compose resources 15# Docker Compose resources
8docker-compose.yml 16docker-compose.yml
9 17
@@ -13,6 +21,9 @@ data/*
13pagecache/* 21pagecache/*
14tmp/* 22tmp/*
15 23
24# Shaarli's docs are created during the build
25doc/html/
26
16# Eclipse project files 27# Eclipse project files
17.settings 28.settings
18.buildpath 29.buildpath