sabre-io/Baikal

Baikal Refuses to work with Nginx Proxy Manager. Cannot Get SSL

Closed this issue · 1 comments

Baikal version: 0.9.5

As of now, Baikal is unable to work well with Nginx Proxy Manager. I am trying to put out a calendar link through NPM and send it securely to Cloudflare, however NPM fails to resolve Radicale's address.

Here's what I want:

Here's what I've done

  1. Set NPM to forward "https://test.domain.com/" to "http://localhost:5232/"
    
  2. Set NPM to forward "https://test.domain.com/" to for example "http://localhost:5232/dav.php/calendars/user/default/"
    
  3. Set NPM to use "Custom locations" and put "/dav.php/calendars/user/default/" in the location area
    
  4. Added many variations of code to the Advanced area of NPM
    

What I've made sure of:

  • Baikal is up to date
    
  • NPM is up to date
    

So far, nothing seems to work. NPM works with all of my other services but fails to operate with Baikal.

mcok commented

If you're using a reverse proxy for Baikal, you need to ensure two conditions: the Host header must include the correct port number, and the correct protocol must be forwarded.

proxy_set_header Host $host:$server_port;
proxy_set_header X-Forwarded-Proto $scheme;