Closed m333w closed 5 years ago
Error 525 is a cloudflare error meaning your SSL handshake failed. My guess would be that you're missing ssl
in your listen directive. it should read listen 443 ssl;
. either way tho, this is an nginx-specific problem, not a problem in magnetissimo
Hi @skwerlman :)
Yeah, it whas my vhost the problem. I am able to run magnetissimo behind nginx with this vhost :
server {
listen 80;
server_name magnetissimo.domain.tld;
return 301 https://magnetissimo.domain.tld$request_uri;
}
server {
listen 443 ssl http2;
server_name magnetissimo.domain.tld;
access_log /var/log/nginx/magnetissimo.access.log;
error_log /var/log/nginx/magnetissimo.error.log;
ssl_certificate /etc/nginx/ssl/fullchain.pem;
ssl_certificate_key /etc/nginx/ssl/privkey.pem;
location / {
proxy_pass http://127.0.0.1:4000;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
Hi all,
I am trying to get magnetissimo working with nginx, actualy i got an error 525, here is my magnetissimo.conf :
In my magnetissimo.acces.log i've got :
Does someone can help me to get magnetissimo working with nginx ?
Best regards.