Nginx reverse proxy not working with ERPNext
See original GitHub issueI’m trying to self-host ERPNext on my home server
Hardware Stack: AMD Ryzen 5th Gen 6 cores with 12 threads CPU 256 m.2 SSD (for boot) 1TB HDD LVM storage mounted on /home 16 GB DDR4 Ram with heat sink GigaByte motherboard board Cool master heat sink for CPU Cool Master SMPS real 450 watts
Server Tech Stack: Ubuntu 22.04 LTS Server Docker Nginx reverse proxy manager for reverse proxy Static ipv6 address managed by cloudfront with a 300 MBPS internet connection
Since I’m using nginx reverse proxy I don’t need Trafeik so I ran the below commands to get ERP Next running without Trafeik
sudo docker compose -f compose.yaml \
-f overrides/compose.noproxy.yaml \
-f overrides/compose.mariadb.yaml \
-f overrides/compose.redis.yaml \
config > /home/kiatronic/docker_apps/erpnext_gitops/docker-compose.yml
sudo docker compose --project-name erpnext -f ~/docker_apps/erpnext_gitops/docker-compose.yml up -d
sudo docker compose --project-name erpnext exec backend bench new-site erpnext.sozeno.com
I made an entry on Nginx reverse proxy to point to my static server IP address
After this, I created a DNS entry on my Cloudflare dashboard
But when I access the site I get a 504 error
Upon trying to access the site directly through its local LAN IP address with 8080 I get a
Not Found 192.168.. does not exist
Issue Analytics
- State:
- Created a year ago
- Comments:12
Top GitHub Comments
just the passwords need to be set to more secure ones for db as well as site admin. Close issue if you’ve got it working.
@revant Thanks you for all the help, really appreciate it