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
commit ddd09461fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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