From 6d192927ae65e0f7da53bf802f3d2c112b65c9ef Mon Sep 17 00:00:00 2001 From: Seth Foster Date: Fri, 21 Oct 2022 23:10:06 -0400 Subject: [PATCH] Make nginx conf consistent with settings.STATIC_ROOT --- tools/docker-compose/nginx.vh.default.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/docker-compose/nginx.vh.default.conf b/tools/docker-compose/nginx.vh.default.conf index 54a129ee19..649575af34 100644 --- a/tools/docker-compose/nginx.vh.default.conf +++ b/tools/docker-compose/nginx.vh.default.conf @@ -85,8 +85,7 @@ server { add_header X-Content-Type-Options nosniff; location /static/ { - root /awx_devel; - try_files /awx/ui/$uri /awx/$uri /awx/public/$uri =404; + alias /var/lib/awx/public/static/; access_log off; sendfile off; }