nginx-proxy-manager icon indicating copy to clipboard operation
nginx-proxy-manager copied to clipboard

Bug: Internal Error

Open avatar-lavventura opened this issue 2 years ago • 3 comments

I keep having Internal Error even the corresponding port is open, how could I fix it?

image

avatar-lavventura avatar Mar 13 '22 09:03 avatar-lavventura

Can you check your letsencrypt logs file ? It is probably because the letsencrypt challenge needed to validate you are the owner of the domain is failing. Do you have an existing DNS record pointing to your nginx server for the hostname you are using on this new proxy host ?

AnthoBalitrand avatar Mar 17 '22 10:03 AnthoBalitrand

@AnthoBalitrand I was trying to build it into an instance on digitial ocean.

docker-compose.yml:

docker-compose.yml
version: "3"
services:
  app:
    image: "jc21/nginx-proxy-manager:latest"
    restart: always
    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
    environment:
      DB_MYSQL_HOST: "db"
      DB_MYSQL_PORT: 3306
      DB_MYSQL_USER: "npm"
      DB_MYSQL_PASSWORD: "npm"
      DB_MYSQL_NAME: "npm"
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt
    depends_on:
      - db

  db:
    image: "jc21/mariadb-aria:latest"
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: "npm"
      MYSQL_DATABASE: "npm"
      MYSQL_USER: "npm"
      MYSQL_PASSWORD: "npm"
    volumes:
      - ./data/mysql:/var/lib/mysql

setup.sh

#!/bin/bash

mkdir -p ~/docker
cp docker-compose.yml ~/docker
cd ~/docker
sudo chmod 666 /var/run/docker.sock
sudo systemctl restart docker

I open the ports here:

image

But I keep facing with the same error when I try to forward port for 5000.

avatar-lavventura avatar Mar 19 '22 11:03 avatar-lavventura

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

github-actions[bot] avatar Feb 21 '24 01:02 github-actions[bot]