[odrs-web] Drop static from root or it will append it twice



commit a96ee002862c3f8ce5ea53b1dcc85c34bb2e50b0
Author: Andrea Veri <averi redhat com>
Date:   Thu Apr 28 17:41:27 2022 +0200

    Drop static from root or it will append it twice

 Dockerfile.nginx | 2 +-
 nginx.conf       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Dockerfile.nginx b/Dockerfile.nginx
index b747395..be65d1f 100644
--- a/Dockerfile.nginx
+++ b/Dockerfile.nginx
@@ -1,3 +1,3 @@
 FROM docker.io/nginxinc/nginx-unprivileged
-ADD odrs/static /tmp/static
+ADD odrs/static /tmp/var/static
 ADD nginx.conf /etc/nginx/nginx.conf
diff --git a/nginx.conf b/nginx.conf
index 2a095a6..7f1430f 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -46,7 +46,7 @@ http {
         error_log /dev/stderr;
 
         location /static/ {
-            root /tmp/static/;
+            root /tmp/var/;
             autoindex off;
         }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]