Skip to content

Nginx monitoring #36

Closed Answered by sacredabhishek
spothulavivify asked this question in Q&A
Discussion options

You must be logged in to vote

@spothulavivify

  1. Install Docker and Docker-Compose
  2. Create a docker-compose.yml
mkdir nginixproxy
cd nginixproxy
nano docker-compose.yml

Paste below code in to docker-compose.yml

version: '3.8'
services:
  app:
    image: 'jc21/nginx-proxy-manager:latest'
    restart: unless-stopped
    ports:
      - '80:80'
      - '81:81'
      - '443:443'
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt

execute below mentioned command

docker-compose up -d

Note : if you have port 81 being used for any other program or services change it another port in docker-compose.yml; i,e 82:82

for more details follow this link https://nginxproxymanager.com/guide/#quick-setup

Reference Sc…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sacredabhishek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
good first issue Good for newcomers
2 participants