Hi.
I have graylog servier in version 3.1.
i used nginx to make the browser secure with https.
everything work well, but when i go to the api browser i get nothing
this my nginx conf :
server
{
listen 443 ssl http2;
server_name x.com
ssl on;
ssl_certificate /etc/letsencrypt/live/sophsiem.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/sophsiem.com/privkey.pem;
ssl_session_timeout 5m;
ssl_ciphers EECDH+CHACHA20:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5;
ssl_protocols TLSv1.2;
ssl_prefer_server_ciphers on;
access_log /var/log/nginx/graylog.access.log;
error_log /var/log/nginx/graylog.error.log;
location / {
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Graylog-Server-URL https://$server_name;
proxy_pass http://127.0.0.1:9000;
}
}
this the config of the graylog :
http_bind_address = 127.0.0.1:9000
in the browser the link of the api get me to http://127.0.0.1/api… , i also tried to change the begin to my site/api… , but get white page.
i tried everything, including every guide i saw in the internet.
someone can help me? thanks!