Change AWX Logo

Change AWX Logo

Please note that the official logo for AWX-RPM is the angry potato.. the other logo is the official upstream awx logo..

Either way, if you want to switch:

mkdir -p /opt/awx/static/assets/awx/
wget -O /opt/awx/static/assets/awx/logo-login.svg
wget -O /opt/awx/static/assets/awx/llogo-header.svg

Then your nginx.conf should look like this:

#user awx;

worker_processes  1;

error_log  /var/log/nginx/error_log info;
pid        /var/run/;

events {
    worker_connections  1024;

http {
    include       /etc/nginx/mime.types;
    default_type  application/octet-stream;

    log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                      '$status $body_bytes_sent "$http_referer" '
                      '"$http_user_agent" "$http_x_forwarded_for"';

    access_log  /var/log/nginx/access_log  main;

    map $http_upgrade $connection_upgrade {
        default upgrade;
        ''      close;

    sendfile        on;
    #tcp_nopush     on;
    #gzip  on;

    upstream uwsgi {
        server localhost:8050;

    upstream daphne {
        server localhost:8051;

    server {
        listen 8052 default_server;

        # If you have a domain name, this is where to add it
        server_name _;
        keepalive_timeout 65;

        # HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months)
        add_header Strict-Transport-Security max-age=15768000;

        location /favicon.ico { alias /opt/awx/static/assets/awx/favicon.ico; }
        location /static/assets/favicon.ico { alias /opt/awx/static/assets/awx/favicon.ico; }
        location /static/assets/logo-header.svg {alias /opt/awx/static/assets/awx/logo-header.svg;}
        location /static/assets/logo-login.svg {alias /opt/awx/static/assets/awx/logo-login.svg;}

        location /static/ {
            alias /opt/awx/static/;

#        location /favicon.ico { alias /opt/awx/static/favicon.ico; }

        location /websocket {
            # Pass request to the upstream alias
            proxy_pass http://daphne;
            # Require http version 1.1 to allow for upgrade requests
            proxy_http_version 1.1;
            # We want proxy_buffering off for proxying to websockets.
            proxy_buffering off;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            # enable this if you use HTTPS:
            proxy_set_header X-Forwarded-Proto https;
            # pass the Host: header from the client for the sake of redirects
            proxy_set_header Host $http_host;
            # We've set the Host header, so we don't need Nginx to muddle
            # about with redirects
            proxy_redirect off;
            # Depending on the request value, set the Upgrade and
            # connection headers
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection $connection_upgrade;

        location / {
            # Add trailing / if missing
            rewrite ^(.*)$http_host(.*[^/])$ $1$http_host$2/ permanent;
            uwsgi_read_timeout 120s;
            uwsgi_pass uwsgi;
            include /etc/nginx/uwsgi_params;

Reset admin password AWX Instances