Caddy reverse proxy

Hi.

I´m trying to use nocobase behind a reverse proxy implemented with caddy but I’m stuck.

Just get this in browser

Hi, to help you better, please provide:

  1. Your Caddy proxy config (please remove any sensitive info).
  2. The nocobase version and how you deployed it.
  3. The full URL you’re trying to access.

Thanks!

Hi.

I use nocobase for node.
Version 1.7.2

url: https://www.ejemplo.net:9990/apps/miaplicacion

My caddifile is

{
    debug
    auto_https disable_redirects
}

www.tmb.ar:443 {
    tls C:\xxxxxxxx.crt C:\xxxxxxxxx.key {
        protocols tls1.2 tls1.3
    }
    # Bloque para NocoBase
    handle /apps* { 
        reverse_proxy http://192.168.2.230:13000 {
            header_up Host {host}
            header_up X-Real-IP {remote_ip}
            header_up X-Forwarded-For {remote_ip}
            header_up X-Forwarded-Proto {scheme}
            header_up Upgrade {header.Upgrade}
            header_up Connection {header.Connection}
        }
    }

}

Hi, which method are you using to deploy NocoBase? Are you using Docker?

Hi.

I’m using node.

Just a question, is it necessary to modify the URI or something else in the .env file?

Regards

Hi, you may need to refer to our Nginx configuration when setting up your Caddyfile.