Files
Docker-Compose/Nginx Proxy Manager/README.md
T

38 lines
1.6 KiB
Markdown
Raw Normal View History

2025-10-23 02:15:49 +00:00
Source: https://nginxproxymanager.com/setup/
2025-10-23 02:17:26 +00:00
2025-10-23 02:32:52 +00:00
Use Compose.yml in a Portainer stack(or use raw)
2025-10-23 02:58:32 +00:00
Go to the management your http://IP:81
2025-10-23 02:18:25 +00:00
Default login: admin @example.com changeme
2025-10-23 02:32:52 +00:00
### Nginx Advanced Setup
2025-10-23 02:21:40 +00:00
https://nginxproxymanager.com/advanced-config/
2025-10-23 02:55:12 +00:00
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
2025-10-23 02:21:40 +00:00
networks:
default:
external: true
name: nginx
```
2025-10-23 02:55:12 +00:00
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
2025-10-23 02:21:40 +00:00
2025-10-23 02:32:52 +00:00
### Nginx random notes
https://cjroeser.com/2025/01/20/homelab-networking-cloudflare-nginx-split-dns/
Add section on setting up certs
2025-10-23 02:19:07 +00:00
Add section on port forward https and http?
2025-10-23 02:32:52 +00:00
### Nginx troubleshooting
Most of these issues I came across while using Cloudflare:
1. If having an error message for too many redirects: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/852
2025-10-23 02:19:07 +00:00
"The cloudflare proxy does not actually follow the redirect nginx sends, which results in this error. You probably need to set the SSL/TLS encryption mode to Full or Full (Strict) or remove the additional CloudFlare proxy."