cara install nginx proxy manager ubuntu server 22

Update System: apt update && apt upgrade -y Install Docker: sudo apt-get install \ ca-certificates \ curl \ gnupg \ lsb-release Add Docker’s official GPG key curl -fsSL https://download.docker.com/linux/ubu... | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg Set up stable repository ##### i'm replacing angled bracke with square bracket########### echo \ "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list ] /dev/null Install Docker Engine sudo apt-get update sudo apt-get install docker-ce docker-ce-cli containerd.io Install Docker Compose sudo curl -L "https://github.com/docker/compose/rel... -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose Test the installation docker-compose --version Install npm: mkdir -p npm Make sure you're in the Nginx Proxy Manager directory cd npm Create a docker-compose configuration file touch docker-compose.yml Editing the file nano docker-compose.yml paste version: '3' services: app: image: 'jc21/nginx-proxy-manager:latest' restart: unless-stopped ports:

  • '80:80'
  • '81:81'
  • '443:443'

volumes:

  • ./data:/data
  • ./letsencrypt:/etc/letsencrypt

docker-compose up -d http://server_ip:81 Default admin user: Email: admin@example.com Password: changeme



source : How to install Nginx Proxy Manager in Ubuntu

0 Response to "cara install nginx proxy manager ubuntu server 22"

Post a Comment