[GH-ISSUE #3125] The domain name management page cannot be used to log in. #2118

Closed
opened 2026-02-26 07:34:05 +03:00 by kerem · 9 comments
Owner

Originally created by @AlgoYu on GitHub (Aug 14, 2023).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3125

          you can fix this issue by adding this in .conf that you can found in this path "/data/nginx/proxy_host"

proxy_set_header Authorization $http_authorization;

location / {
    # Authorization
    auth_basic            "Authorization required";
    proxy_set_header Authorization $http_authorization;
    
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection $http_connection;
    proxy_http_version 1.1;
    

    # Proxy!
    include conf.d/include/proxy.conf;
  }

Originally posted by @rahul1996pp in https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3124#issuecomment-1676463224

Originally created by @AlgoYu on GitHub (Aug 14, 2023). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3125 you can fix this issue by adding this in .conf that you can found in this path "/data/nginx/proxy_host" proxy_set_header Authorization $http_authorization; ``` location / { # Authorization auth_basic "Authorization required"; proxy_set_header Authorization $http_authorization; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $http_connection; proxy_http_version 1.1; # Proxy! include conf.d/include/proxy.conf; } ``` _Originally posted by @rahul1996pp in https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3124#issuecomment-1676463224_
kerem 2026-02-26 07:34:05 +03:00
  • closed this issue
  • added the
    stale
    label
Author
Owner

@AlgoYu commented on GitHub (Aug 14, 2023):

I tried various combinations with cloudflare for a long time, but nothing worked, and finally I deleted the ssl certificate, turned off cloudflare's ssl, just normal http access, still unable to log in, and kept lossing in the login screen. I saw these answers, I tried to change the.conf file, in the UI, in the Linux file, it still didn't work, I'm the latest version.

<!-- gh-comment-id:1676529045 --> @AlgoYu commented on GitHub (Aug 14, 2023): I tried various combinations with cloudflare for a long time, but nothing worked, and finally I deleted the ssl certificate, turned off cloudflare's ssl, just normal http access, still unable to log in, and kept lossing in the login screen. I saw these answers, I tried to change the.conf file, in the UI, in the Linux file, it still didn't work, I'm the latest version.
Author
Owner

@AlgoYu commented on GitHub (Aug 14, 2023):

version: '3.8'
services:
  app:
    image: 'jc21/nginx-proxy-manager:latest'
    restart: unless-stopped
    network_mode: host
    ports:
      # These ports are in format <host-port>:<container-port>
      - '80:80' # Public HTTP Port
      - '443:443' # Public HTTPS Port
      - '81:81' # Admin Web Port
      # Add any other Stream port you want to expose
      # - '21:21' # FTP

    # Uncomment the next line if you uncomment anything in the section
    # environment:
      # Uncomment this if you want to change the location of
      # the SQLite DB file within the container
      # DB_SQLITE_FILE: "/data/database.sqlite"

      # Uncomment this if IPv6 is not enabled on your host
      # DISABLE_IPV6: 'true'

    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt
<!-- gh-comment-id:1676529391 --> @AlgoYu commented on GitHub (Aug 14, 2023): ``` version: '3.8' services: app: image: 'jc21/nginx-proxy-manager:latest' restart: unless-stopped network_mode: host ports: # These ports are in format <host-port>:<container-port> - '80:80' # Public HTTP Port - '443:443' # Public HTTPS Port - '81:81' # Admin Web Port # Add any other Stream port you want to expose # - '21:21' # FTP # Uncomment the next line if you uncomment anything in the section # environment: # Uncomment this if you want to change the location of # the SQLite DB file within the container # DB_SQLITE_FILE: "/data/database.sqlite" # Uncomment this if IPv6 is not enabled on your host # DISABLE_IPV6: 'true' volumes: - ./data:/data - ./letsencrypt:/etc/letsencrypt ```
Author
Owner

@AlgoYu commented on GitHub (Aug 14, 2023):

image

<!-- gh-comment-id:1676529839 --> @AlgoYu commented on GitHub (Aug 14, 2023): ![image](https://github.com/NginxProxyManager/nginx-proxy-manager/assets/30444727/1955fe60-5286-418c-83c5-a06250068143)
Author
Owner

@AlgoYu commented on GitHub (Aug 14, 2023):

The login page is still looping, and no error message is displayed.

<!-- gh-comment-id:1677037221 --> @AlgoYu commented on GitHub (Aug 14, 2023): The login page is still looping, and no error message is displayed.
Author
Owner

@AlgoYu commented on GitHub (Aug 14, 2023):

From the request it appears that the login was successful, but will jump back to the login page, I am in host network mode, so set the reverse proxy 127.0.0.1.

<!-- gh-comment-id:1677039705 --> @AlgoYu commented on GitHub (Aug 14, 2023): From the request it appears that the login was successful, but will jump back to the login page, I am in host network mode, so set the reverse proxy 127.0.0.1.
Author
Owner

@AlgoYu commented on GitHub (Aug 14, 2023):

When I used Incognito mode, it logged in successfully.

<!-- gh-comment-id:1677047856 --> @AlgoYu commented on GitHub (Aug 14, 2023): When I used Incognito mode, it logged in successfully.
Author
Owner

@jqtmviyu commented on GitHub (Oct 1, 2023):

When I used Incognito mode, it logged in successfully.

I'm having the same problem with cloudflare ssl + dns, I cleared my browser cache and logged in fine!

<!-- gh-comment-id:1742148657 --> @jqtmviyu commented on GitHub (Oct 1, 2023): > When I used Incognito mode, it logged in successfully. I'm having the same problem with cloudflare ssl + dns, I cleared my browser cache and logged in fine!
Author
Owner

@github-actions[bot] commented on GitHub (Apr 7, 2024):

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

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

@github-actions[bot] commented on GitHub (Jun 5, 2025):

Issue was closed due to inactivity.

<!-- gh-comment-id:2942526799 --> @github-actions[bot] commented on GitHub (Jun 5, 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#2118
No description provided.