mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
Make static asset location consistent across all deployments (#12819)
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user