1
0
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:
Jeff Bradberry 2021-05-14 13:51:56 -04:00
parent f1767d05b0
commit bcf93810ad

View File

@ -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;