Update Nginx Proxy Manager/README.md
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
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/
|
||||
|
||||
Reference in New Issue
Block a user