Update Nginx Proxy Manager/README.md
This commit is contained in:
@@ -8,23 +8,21 @@ Default login: admin @example.com changeme
|
|||||||
### Nginx Advanced Setup
|
### Nginx Advanced Setup
|
||||||
https://nginxproxymanager.com/advanced-config/
|
https://nginxproxymanager.com/advanced-config/
|
||||||
|
|
||||||
Will need to create Network in Portainer if using the below
|
Will need to create Network in Portainer
|
||||||
Add this to the bottom of your nginx compose file
|
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
|
||||||
```yaml
|
4. You will need to add this to every docker container(compose file) that you want Nginx to redirect
|
||||||
|
5.
|
||||||
|
```yaml
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
external: true
|
external: true
|
||||||
name: nginx
|
name: nginx
|
||||||
```
|
```
|
||||||
|
6. Comment out the ports on any docker container(ie wordpress) you add this external network in
|
||||||
You will need to add this to every docker container(compose file) that you want Nginx to redirect
|
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
|
||||||
Comment out the ports on any docker container(ie wordpress) you add this external network in
|
8. You will use the Docker name instead of the IP
|
||||||
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
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Nginx random notes
|
### Nginx random notes
|
||||||
https://cjroeser.com/2025/01/20/homelab-networking-cloudflare-nginx-split-dns/
|
https://cjroeser.com/2025/01/20/homelab-networking-cloudflare-nginx-split-dns/
|
||||||
|
|||||||
Reference in New Issue
Block a user