This page provides configuration for setting up an external reverse proxy with Plane.

Plane environment setup

Make sure to update the following environment variables in your plane.env file.

  1. Assign free ports for Plane to listen on. Update the following variables with two different unsused ports:

    LISTEN_HTTP_PORT=
    LISTEN_HTTPS_PORT=
    
  2. Update the SITE_ADDRESS variable to :80

      SITE_ADDRESS=:80
    

    This is required so that generated links and redirects work correctly behind the proxy:

Proxy setup

  1. Choose the appropriate configuration template for your reverse proxy.

  2. Replace the following placeholders:

    • <domain>
      Your Plane application’s domain name.
    • <plane-host-ip>
      The IP address where Plane is hosted.
    • <plane-host-port>
      The port Plane listens on.
  3. For Traefik, also update your-email@example.com with your email.

Ensure that your reverse proxy setup follows the template provided, and that the forwarded headers and ports are correctly set to match the environment variable configuration.

Configuration templates

All configurations include:

  • Automatic HTTPS redirection
  • WebSocket support
  • Standard proxy headers
  • SSL/TLS certificate management
    • NGINX: Uses Certbot
    • Caddy: Handles certificates automatically
    • Traefik: Uses Let’s Encrypt