diff --git a/Nginx Proxy Manager/README.md b/Nginx Proxy Manager/README.md index 574e532..88d46b1 100644 --- a/Nginx Proxy Manager/README.md +++ b/Nginx Proxy Manager/README.md @@ -8,23 +8,21 @@ Default login: admin @example.com changeme ### Nginx Advanced Setup https://nginxproxymanager.com/advanced-config/ -Will need to create Network in Portainer if using the below -Add this to the bottom of your nginx compose file - - -```yaml +Will need to create Network in Portainer +1. Portainer > Networks > Add network > Name=nginx > Driver=bridge > IPV4 Network configuration: Subnet=172.25.0.0/16 Gateway=172.25.0.1 +2. Leave rest default/blank (change IPs as needed) +3. After created you can uncomment the networks part of the yml file for nginxproxymanager +4. You will need to add this to every docker container(compose file) that you want Nginx to redirect +5. +```yaml networks: default: external: true name: nginx ``` - -You will need to add this to every docker container(compose file) that you want Nginx to redirect -Comment out the ports on any docker container(ie wordpress) you add this external network in -You will use the original port (ie 80, whichever port is to the right in the compose file) for the redirect port in the setup -You will use the Docker name instead of the IP - - +6. Comment out the ports on any docker container(ie wordpress) you add this external network in +7. You will use the original port (ie 80, whichever port is to the right in the compose file) for the redirect port in the setup +8. You will use the Docker name instead of the IP ### Nginx random notes https://cjroeser.com/2025/01/20/homelab-networking-cloudflare-nginx-split-dns/