[odrs-web] Use the root directive instead
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [odrs-web] Use the root directive instead
- Date: Thu, 28 Apr 2022 15:30:39 +0000 (UTC)
commit 51606d3ce8acbfb30dd50c244fe80bf31844ffeb
Author: Andrea Veri <averi redhat com>
Date: Thu Apr 28 17:30:33 2022 +0200
Use the root directive instead
nginx.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/nginx.conf b/nginx.conf
index 7327d3b..ec5ea1d 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -46,7 +46,7 @@ http {
error_log /dev/stderr;
location /static/ {
- alias /tmp/static/;
+ root /tmp/static;
}
location ~* \.(?:ico|css|svg|js|json|jpe?g|png)$ {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]