littleshop/Hostinger/NPM_CONFIG.md
SysAdmin e1b377a042 Initial commit of LittleShop project (excluding large archives)
- BTCPay Server integration
- TeleBot Telegram bot
- Review system
- Admin area
- Docker deployment configuration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-17 15:07:38 +01:00

1.5 KiB

Nginx Proxy Manager Configuration

Access Information

Create Proxy Host for BTCPay

  1. Login to NPM admin panel
  2. Go to "Proxy Hosts" → "Add Proxy Host"
  3. Configure as follows:

Details Tab:

  • Domain Names: thebankofdebbie.giize.com
  • Scheme: http
  • Forward Hostname / IP: 172.20.0.4 (or use container name: generated_btcpayserver_1)
  • Forward Port: 49392
  • Cache Assets: OFF (for BTCPay)
  • Block Common Exploits: ON
  • Websockets Support: ON (important for BTCPay)

SSL Tab:

  • SSL Certificate: Request a new SSL Certificate
  • Force SSL: ON
  • HTTP/2 Support: ON
  • HSTS Enabled: ON
  • Email: admin@thebankofdebbie.giize.com
  • Agree to Terms: Check

Advanced Tab (optional):

# Add if needed for BTCPay
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

Current Services Status:

  • BTCPay: Running on port 8080 (internal: 49392)
  • NPM: Running on ports 80, 443, 81
  • Portainer: Running on port 9443

Troubleshooting:

If BTCPay doesn't respond through NPM:

  1. Check Docker network connectivity
  2. Verify BTCPay is accessible locally: curl http://localhost:8080
  3. Check NPM logs: docker logs nginx-proxy-manager
  4. Ensure websockets are enabled in proxy host