## Files - proxy_WAN.go` - Go reverse proxy server - 'proxy-app' - main application with main.go in packaged - `hemanta.conf` - Apache HTTPS configuration ## Quick Start 1. Start Go Proxy go run proxy_WAN.go # Make sure port:7070 is not used already 2. Configure Apache sudo nano /etc/httpd/conf.d/hemanta.conf sudo httpd -t sudo systemctl restart httpd ### 3. Test Visit: https://gw1dev.atguru.work/hemanta/external_proxy/ ## Make Persistent (ruuning in the background) ### Using nohup: # Build binary go build -o proxy-WAN proxy_WAN.go nohup ./proxy-WAN > /dev/null 2>&1 & ## Troubleshooting **503 Error:** # Check if Go is running ps aux | grep proxy-WAN sudo ss -tlnp | grep 7070 #To stop pkill proxy-WAN ## Notes - All requests proxied through Apache (443) → Go (7070) → gw1dev - URL rewriting ensures user always sees `gw1dev.atguru.work` - Go proxy handles all URL transformations - Apache only does SSL termination and forwarding