[odrs-web] Missing slash + turn autoindex to off
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [odrs-web] Missing slash + turn autoindex to off
- Date: Thu, 28 Apr 2022 15:37:29 +0000 (UTC)
commit 58dcadc3e18bcb644939cf3f8f3d2aee3c0787c0
Author: Andrea Veri <averi redhat com>
Date: Thu Apr 28 17:37:22 2022 +0200
Missing slash + turn autoindex to off
nginx.conf | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/nginx.conf b/nginx.conf
index ec5ea1d..2a095a6 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -46,7 +46,8 @@ http {
error_log /dev/stderr;
location /static/ {
- root /tmp/static;
+ root /tmp/static/;
+ autoindex off;
}
location ~* \.(?:ico|css|svg|js|json|jpe?g|png)$ {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]