Make static asset location consistent across all deployments (#12819)

This commit is contained in:
Shane McDonald
2022-09-02 17:12:06 +00:00
committed by GitHub
parent 1afa49f3ff
commit 260e1d4f2d
2 changed files with 1 additions and 8 deletions
+1 -4
View File
@@ -25,10 +25,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;
access_log off;
sendfile off;
alias /var/lib/awx/public/static/;
}
location /favicon.ico { alias /awx_devel/awx/public/static/favicon.ico; }