mirror of
https://github.com/ansible/awx.git
synced 2024-10-28 10:55:30 +03:00
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.
This commit is contained in:
parent
f1767d05b0
commit
bcf93810ad
@ -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…
Reference in New Issue
Block a user