NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
22.9k stars 2.66k forks source link

Css are not interpreted #284

Open Niii opened 4 years ago

Niii commented 4 years ago

Hi,

I've installed nginx proxy manager and all works as exected, except for on website. Website works diretcly, but with nginx I've these errors :

Resource interpreted as Stylesheet but transferred with MIME type text/html: "<URL>".
tA8AAPlphCpnUkVvZmdtcG1oBAA?WD_ACTION_=MENU&ID=M53:7 Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://aa.bb.cc/WD210AWP/res/PAGE/res/standard.css?1e3a6a9d".

I've tried to add this directly in proxy_host config to catch css file without success :

location ~ \.css {
    add_header  Content-Type    text/css;
}

If someone have an idea.

github-actions[bot] commented 7 months ago

Issue is now considered stale. If you want to keep it open, please comment :+1: