diff options
author | Alejandro Colomar <alx.manpages@gmail.com> | 2021-03-30 01:08:17 +0200 |
---|---|---|
committer | Alejandro Colomar <alx.manpages@gmail.com> | 2021-03-30 01:08:17 +0200 |
commit | 367f9414547a562d301475f87fdc1b208bf1140b (patch) | |
tree | 7c22019820a6960f23db3827a043ed73d1bcbe00 | |
parent | 42e11b857fe2e66ccbc21bac85da836789483b0d (diff) |
etc/nginx/conf.d/server.conf: Fix try_files (need =404)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r-- | etc/nginx/conf.d/server.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/nginx/conf.d/server.conf b/etc/nginx/conf.d/server.conf index 074fc28..76e0b08 100644 --- a/etc/nginx/conf.d/server.conf +++ b/etc/nginx/conf.d/server.conf @@ -25,7 +25,7 @@ server } location = /share/man/index.html { - try_files /man-pages.html; + try_files /man-pages.html =404; } if ($request_method !~ ^(GET|HEAD)$ ) { |