diff options
author | Jeff Bradberry <jeff.bradberry@gmail.com> | 2021-05-14 19:51:56 +0200 |
---|---|---|
committer | Jeff Bradberry <jeff.bradberry@gmail.com> | 2021-05-14 20:00:57 +0200 |
commit | bcf93810adbdad6d85491d7d657ea1771fbd4915 (patch) | |
tree | f58fa78d766bb24f8565212c7ff71c53b39683cd /tools | |
parent | Merge pull request #10202 from tiagodread/3420-fix (diff) | |
download | awx-bcf93810adbdad6d85491d7d657ea1771fbd4915.tar.xz awx-bcf93810adbdad6d85491d7d657ea1771fbd4915.zip |
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.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/docker-compose/nginx.vh.default.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/docker-compose/nginx.vh.default.conf b/tools/docker-compose/nginx.vh.default.conf index 73a4d1cd8d..5a83f2ab03 100644 --- a/tools/docker-compose/nginx.vh.default.conf +++ b/tools/docker-compose/nginx.vh.default.conf @@ -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; |