Pangolin Install Guide
Pangolin is
Most of the guide is from their doc page, however, there is a part missing for making proxy redirect work properly.
Pangolin Install Guide
This will resolve an issue of https://pangolin.cyberpaw.org/auth/initial-setup site not being reachable, or getting Invalid ssl cert error.
- Login trough SSH to VPS server that is preset with necessary security steps
- Download the installer
curl -fsSL https://digpangolin.com/get-installer.sh | bash
- Run the installer
sudo ./installer
- Once installer is finished Configure basic Settings from prompts. The installer will prompt you for essential configuration:
- Base Domain: Enter your root domain without subdomains (e.g., example.com)
- Dashboard Domain: Press Enter to accept the default pangolin.example.com or enter a custom domain
- Let’s Encrypt Email: Provide an email for SSL certificates and admin login
- Tunneling: Choose whether to install Gerbil for tunneled connections (default: yes). You can run Pangolin without tunneling. It will function as a standard reverse proxy.
- Email Configuration: Say no, if you don't have SMTP server set up
- CrowdSec: say Yes to install and self manager CrowdSec
- Once installer is ready try to go to:
https://pangolin.example.com/auth/initial-setup
If you get Invalid SSL Certificate error or Site can't be reached continue with steps below
Traefik dynamic_config.yml Change
cd /config/traefik
- Backup existing file
cp dynamic_config.yml dynamic_config.yml.bak
- Edit yml
nano dynamic_config.yml
- Add new line in router part
setup-router:
rule: "Host(`pangolin.cyberpaw.org`) && PathPrefix(`/auth`)"
service: api-service
entryPoints:
- websecure
tls:
certResolver: letsencrypt
- Save and Exit
- Restart traefik container
docker restart <traefik_container_name>
Now try to go to initial setup and follow initial steps.