ydkmlt84 / DarkerNZBget

Custom CSS to apply to NZBget
21 stars 7 forks source link

DarkerNZBget

Discord
Custom CSS to apply to NZBget using an NGINX subfilter

Using a NGINX sub filter is the only way to apply this specific branch of the repo to NZBget. Below, is one example, of how to use a reverse proxy block in NGINX to apply. If you're looking for a different/better way, go to the Develop branch and read the README over there.

#NZBGet ReverseProxy
        location /nzbget {
                proxy_pass http://localhost:<NZBgetPORT>;
                proxy_set_header Host $host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header Accept-Encoding "";
                sub_filter '</head>' '<link rel="stylesheet" type="text/css" href="https://rawgit.com/ydkmlt84/DarkerNZBget/master/nzbget_custom_darkblue.css"></head>';
                sub_filter_once on;
        }


Rawgit link for master branch = https://rawgit.com/ydkmlt84/DarkerNZBget/master/nzbget_custom_darkblue.css

Screenshots