diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-11-07 14:27:49 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-11-07 14:27:49 +0100 |
commit | ce901a58289c72bf7f4dc3515a2be70562cd618b (patch) | |
tree | 73ad1883bcdbb1ac5c15e4aa9472b53ebde763d4 /.dockerignore | |
parent | 8c5f6c786d00310b2e863aa316927effb7bfeedb (diff) | |
download | Shaarli-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-- | .dockerignore | 11 |
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 | ||
5 | tests | 8 | tests |
6 | 9 | ||
10 | # Docker related resources are not needed inside the container | ||
11 | .dockerignore | ||
12 | Dockerfile | ||
13 | Dockerfile.armhf | ||
14 | |||
7 | # Docker Compose resources | 15 | # Docker Compose resources |
8 | docker-compose.yml | 16 | docker-compose.yml |
9 | 17 | ||
@@ -13,6 +21,9 @@ data/* | |||
13 | pagecache/* | 21 | pagecache/* |
14 | tmp/* | 22 | tmp/* |
15 | 23 | ||
24 | # Shaarli's docs are created during the build | ||
25 | doc/html/ | ||
26 | |||
16 | # Eclipse project files | 27 | # Eclipse project files |
17 | .settings | 28 | .settings |
18 | .buildpath | 29 | .buildpath |