Closed elapse2039 closed 4 months ago
I found an answer... I had to include
proxy_set_header X-Forwarded-Proto $scheme;
so...
server {
listen 443 ssl;
server_name <REMOVED>;
client_max_body_size 0M;
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_pass http://192.168.1.134:8011;
proxy_buffering off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Forwarded-Proto $scheme;
}
ssl_certificate /etc/letsencrypt/live/<REMOVED>/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/<REMOVED>/privkey.pem;
}
Setup:
NGINX upstream proxy block...
FYI The NGINX proxy is working fine for other upstream services.
Error: https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content?utm_source=mozilla&utm_medium=firefox-console-errors&utm_campaign=default
Expected: The installation guides on Cachet mention a proxy frontend to Cachet and I dont see where to provision any SSL certs for Cachet or why it is switching between https and http for mixed content. In the configuration options, the site-url is set to the https domain.