mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 06:01:25 -03:30
Merge pull request #10205 from jbradberry/favicon-fix
Add an nginx location directive for the favicon SUMMARY Add an nginx location directive for the favicon so that the rewrite rule that adds slashes to the ends of requested urls doesn't get to it. related #8618 ISSUE TYPE Bugfix Pull Request COMPONENT NAME API UI AWX VERSION Reviewed-by: Rebeccah Hunter <rhunter@redhat.com> Reviewed-by: Christian Adams <rooftopcellist@gmail.com>
This commit is contained in:
commit
3b280e1b32
@ -30,6 +30,8 @@ server {
|
||||
sendfile off;
|
||||
}
|
||||
|
||||
location /favicon.ico { alias /awx_devel/awx/public/static/favicon.ico; }
|
||||
|
||||
location ~ ^/websocket {
|
||||
# Pass request to the upstream alias
|
||||
proxy_pass http://daphne;
|
||||
@ -90,6 +92,8 @@ server {
|
||||
sendfile off;
|
||||
}
|
||||
|
||||
location /favicon.ico { alias /awx_devel/awx/public/static/favicon.ico; }
|
||||
|
||||
location ~ ^/websocket {
|
||||
# Pass request to the upstream alias
|
||||
proxy_pass http://daphne;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user