NginxProxyManager / nginx-proxy-manager

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

Configuring Nginx proxy manager with port 443 #3974

Open smdkx opened 2 months ago

smdkx commented 2 months ago

Hi, I have installed nginx proxy manager with port 443 and I also have a VPN VLESS which also needs port 443 (currently it is 8433).

Is it possible to change NPM port to any other port, it will not be a problem for its operability ?

Or is there a rough instruction to configure NPM in reverse proxy mode, which redirects traffic to VLESS server ?

nubblesite commented 2 months ago

What is preventing you from mapping the port in your docker-compose.yml file?

  app:
    image: 'docker.io/jc21/nginx-proxy-manager:latest'
    restart: unless-stopped
    ports:
      - '80:80'
      - '81:81'
      - 'your_custom_port:443'
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt