Hi Jan thanks for the answer
1- I changed http_publish_uri
as you suggested -
a- Still getting Error 401
b - I cannot browse “API-BROWSER” page with this change from my personal computer since it changed the HTTP URI to internal(is this normal)
Yes I have a API token configured in Graylog and pasted that API token into sidecar.yml in Graylog sidecar.
I am suspecting of NGINX conf which is for /api/ directory as below:
**Nginx config for API location **
location /api/ {
proxy_ssl_server_name on;
proxy_no_cache $cookie_nocache;
proxy_cache_bypass $cookie_nocache;
#proxy_set_header Host $http_host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-Server $host:$server_port;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Graylog-Server-URL https://$server_name/;
#proxy_set_header X-Forwarded-Prefix /api/;
proxy_pass http://127.0.0.1:9000/api/;
proxy_pass http://127.0.0.1:9000/api/$request_uri;
}