Hi, i have a proxy with https that should strip the ssl and redirect http->https and than go to http to the graylog inside LAN, i’ve tryed a lot of different configurations, none of them worked so far, the web interface and api used in different ports, i can access the web interface but it has issues with using the api
Error message
Bad request
Original Request
GET http://graylog.example.com:12900/system/cluster/node
Status code
undefined
Full error message
Error: Request has been terminated
Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.
this is the error i’m getting. and if i go for the link it works fine from any point (internal and external)
did anyone tryed something like this before?
I had personal running my environment on HTTPS and only my NGINX Proxy terminates SSL - the environment is a multi node one and you can see the configuration here: Load balancing nginx with ip private in LAN
Hi, Thank you for the answer, yes i saw and tried this way, my difference is that i have one node and i have api and web on a different ports and web works correctly, the problem is api, i have tried to just forward 12900 http and it looks like it starts for a few seconds and then i have the error i described tried the config from the docs (replaced the ip’s) tryed to make a 301 redirect on http and than https strip (took the https part from your config) all still the same
this is not a first try(i’ve tried a lot of different configs), yes i’m bound to use different ports, that is why all of the issue, if now i would just copy the documentation example, i’m interested if someone did configurations common to what i need. About the older configuration i’ve tried to copy it and make 301 redirect on http ports and then this configuration only with ssl, that didn’t work for the api part as well
tried, issue remains the same, only now it prompts for login for about 5 seconds, it was less than a second in my previous attempts, and if i try to login in 5 sec after i type Enter error occurs again