-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pool https error #383
Comments
Terminate SSL with nginx, forward over http. Pool software requires no changes
… On Aug 26, 2018, at 11:11, djsmoke2018 ***@***.***> wrote:
what settings must be changed in the pool config when switching to https. as soon as i switch to https i get the error message
Stats API Temporarily Down
without https i have no problems
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
hi what do you mean forward this to. when i set nginx to forward i get the error message Stats API Temporarily Down Usually it's just a temporal issue and mining is not affected. |
@djsmoke2018 Try this:
Please close issue if this works. |
i tried several nginx config and im unable to access the frontend under SSL, allways receive the api error |
That is not a very helpful comment. Did you try my sample config above? What exactly happened when you tried it? |
Hello, have tried you config, still having error message "Stats API Temporarily Down".
Http version without redirecting to https just working grate, no any problem. |
If you leave this as is:
What errors do you get? nginx is acting as a proxy to the api, the api only works over http if i remember correctly. In simple terms, there is an https connection from the user on the internet, to the webserver. Once nginx receives that request on the ssl port, it forwards the request to the api over http. So in the end, you should just be leaving your location /api using http in the proxy_pass setting |
@mikeyb |
You get that using Make sure the api is running on port 8080 as well as you have defined in the upstream |
Isn't it what i mentioned above in my config file? :)
Also mentioned above :)
so i guess there is no problem with api setup, it is relate to any SSL connection setup |
what settings must be changed in the pool config when switching to https. as soon as i switch to https i get the error message
Stats API Temporarily Down
without https i have no problems
The text was updated successfully, but these errors were encountered: