[GH-ISSUE #284] Css are not interpreted #250

Closed
opened 2026-02-26 06:31:46 +03:00 by kerem · 2 comments
Owner

Originally created by @Niii on GitHub (Jan 29, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/284

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.

Originally created by @Niii on GitHub (Jan 29, 2020). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/284 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.
kerem 2026-02-26 06:31:46 +03:00
  • closed this issue
  • added the
    stale
    bug
    labels
Author
Owner

@github-actions[bot] commented on GitHub (Mar 31, 2024):

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

<!-- gh-comment-id:2028525705 --> @github-actions[bot] commented on GitHub (Mar 31, 2024): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@github-actions[bot] commented on GitHub (May 10, 2025):

Issue was closed due to inactivity.

<!-- gh-comment-id:2868225257 --> @github-actions[bot] commented on GitHub (May 10, 2025): Issue was closed due to inactivity.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#250
No description provided.