Skip to content

Using Caddy 1 as Reverse Proxy

For PhotoPrism to work properly, you need to enable websockets and transparent proxying:

Example {
    proxy / photoprism:2342 {

Please refer to the official documentation for further details.

Why Use a Proxy?

If you install PhotoPrism on a public server outside your home network, always run it behind a secure HTTPS reverse proxy. Your files and passwords will otherwise be transmitted in clear text and can be intercepted by anyone, including your provider, hackers, and governments. Backup tools and file sync apps may refuse to connect as well.