mirror of
https://github.com/ansible/awx.git
synced 2026-03-21 19:07:39 -02:30
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:
@@ -30,6 +30,8 @@ server {
|
|||||||
sendfile off;
|
sendfile off;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /favicon.ico { alias /awx_devel/awx/public/static/favicon.ico; }
|
||||||
|
|
||||||
location ~ ^/websocket {
|
location ~ ^/websocket {
|
||||||
# Pass request to the upstream alias
|
# Pass request to the upstream alias
|
||||||
proxy_pass http://daphne;
|
proxy_pass http://daphne;
|
||||||
@@ -90,6 +92,8 @@ server {
|
|||||||
sendfile off;
|
sendfile off;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /favicon.ico { alias /awx_devel/awx/public/static/favicon.ico; }
|
||||||
|
|
||||||
location ~ ^/websocket {
|
location ~ ^/websocket {
|
||||||
# Pass request to the upstream alias
|
# Pass request to the upstream alias
|
||||||
proxy_pass http://daphne;
|
proxy_pass http://daphne;
|
||||||
|
|||||||
Reference in New Issue
Block a user