Make nginx conf consistent with settings.STATIC_ROOT

This commit is contained in:
Seth Foster
2022-10-21 23:10:06 -04:00
parent e655e1dbc2
commit 6d192927ae

View File

@@ -85,8 +85,7 @@ server {
add_header X-Content-Type-Options nosniff; add_header X-Content-Type-Options nosniff;
location /static/ { location /static/ {
root /awx_devel; alias /var/lib/awx/public/static/;
try_files /awx/ui/$uri /awx/$uri /awx/public/$uri =404;
access_log off; access_log off;
sendfile off; sendfile off;
} }