NginxProxyManager / NginxProxyManager/nginx-proxy-manager

Mixed Content Warning on Basic Authentication Page (HTTP instead of HTTPS)

Open
#5,009 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug stale
Dominant language
TypeScript
Stars
34.2k
Forks
3.9k
Avg merge
21h 12m
Merged PRs (30d)
20

Description

Hello,

A "Mixed Content" warning is experienced (indicated by a gray globe/info icon instead of a green padlock) on the built-in Nginx Proxy Manager Basic Authentication (Password Protection) page when accessing a host over HTTPS (port 443).

The SSL certificate is valid. The backend application works fine with HTTPS after logging in. The issue is specific to the NPM's custom login prompt page itself.

It seems the built-in authentication template is loading an asset (like an image or CSS file) using an absolute http:// URL instead of https:// or a relative URL.

To Reproduce:

  1. Set up a host in NPM with SSL enabled and "Access Lists" or "Basic Authentication" applied.
  2. Navigate to the host URL via HTTPS (pl. https://testpage.ddns.net).
  3. The browser displays the password prompt, but flags the connection as insecure due to mixed content.

Expected behavior:
The Basic Authentication prompt page should load all assets over HTTPS to display a secure green padlock icon.

Thank you for your help.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the built-in Nginx Proxy Manager Basic Authentication (Password Protection) page and inspect the page's loaded assets while visiting a host over HTTPS. Identify the asset using an absolute HTTP URL, then verify that the prompt page loads all assets over HTTPS or through relative URLs without a mixed-content warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
nginx
Domain
authentication, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.