Merge pull request #13093 from fosterseth/nginx_static_location

Make nginx conf consistent with settings.STATIC_ROOT
This commit is contained in:
Seth Foster
2022-10-24 11:02:17 -04:00
committed by GitHub

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;
} }