Can't log in using my password when connecting through Nginx Proxy Manager

I have setup Homarr through docker on my machine. I have another VM on the network with full access to the containers ip. I've setup NPM, with and without https. When I open the homarr link it shows me the login page for Homarr but when I type the password it states that either the credentials are incorrect or the user doesn't exist.
When I do the same throught the direct ip/port address it works fine.

Also, I notice in the docker logs that when I log in directly, I get a message in the logs that username "XXX" has attampted login and user was authroized. When I do the same through NPM there are no logs at all. it's like the web UI is responding without actually running anything.

Any ideas?

here's my docker compose:

version: '3'
#---------------------------------------------------------------------#
#     Homarr - A simple, yet powerful dashboard for your server.     #
#---------------------------------------------------------------------#
services:
  homarr:
    container_name: homarr
    image: ghcr.io/ajnart/homarr:latest
    restart: always
    environment:
      - NODE_TLS_REJECT_UNAUTHORIZED=0
      - BASE_URL=homarr.xxx.org
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
      - ./homarr/configs:/app/data/configs
      - ./homarr/icons:/app/public/icons
      - ./homarr/data:/data
    ports:
      - '7575:7575'
Solution
I finally solved it by regenerating the docker container on another machine and pointing the NPM to it. I have no idea what caused the issue but it's good enough for me.
Was this page helpful?