Deploying Behind Caddy


This guide is mainly for On-Prem server mode. Follow the instructions below to set up Binfer behind the Caddy HTTPS server.

  1. Set up a domain or a subdomain that can reach the Binfer server.
  2. Download and unzip the Caddy package from https://www.binfer.com/downloads/6.0/binfer-caddy-setup.zip
  3. Create a folder called Caddy under the C: drive and move the unzipped files there.
  4. Edit the file called Caddyfile and replace xxx.xxx.com with your domain or subdomain and 8080 with the Binfer port.
  5. Run start.bat to test Caddy and generate SSL certificates for the specified domain.
  6. Connect to the domain locally and check for a lock icon or https:// in the browser. Example: https://[domain]/b6/manage.
  7. Close the command prompt window to stop Caddy.
  8. Run installService.bat as administrator to set up Caddy as a service.
  9. Open Services as administrator and start the Caddy Web Server service.
  10. In Binfer click on top right menu > SETTINGS > NETWORK.
  11. Enter 443 as the domain port and check the IS HTTPS? Checkbox.
    • binfer-setup-https
  12. Click SAVE.
  13. Verify the test URL in a browser.