Hello,
I am trying to setup a ghost installation with haproxy in front instead of nginx. Everything works however when I try to login I am getting redirrected back to the login page of the ghost installation.
-
The url is https://anytech-rd.cf
-
Using the latest version of ghost
-
There are two servers serving content via a public facing haproxy which has the two ghost nodes as a backend.
-
I am using the latest version of safari
-
the Errors I can see in the console are the following:
NAME: UnauthorizedError
MESSAGE: Access denied.
level:normal
Client credentials were not provided
For information on how to fix this, please read http://api.ghost.org/docs/client-authentication.
UnauthorizedError: Access denied.
at new UnauthorizedError (/var/www/ghost/versions/1.22.6/node_modules/ghost-ignition/lib/errors/index.js:101:23)
at authenticateClient (/var/www/ghost/versions/1.22.6/core/server/services/auth/authenticate.js:40:25)
at Layer.handle [as handle_request] (/var/www/ghost/versions/1.22.6/node_modules/express/lib/router/layer.js:95:5)
at next (/var/www/ghost/versions/1.22.6/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/var/www/ghost/versions/1.22.6/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/var/www/ghost/versions/1.22.6/node_modules/express/lib/router/layer.js:95:5)
at /var/www/ghost/versions/1.22.6/node_modules/express/lib/router/index.js:281:22
at param (/var/www/ghost/versions/1.22.6/node_modules/express/lib/router/index.js:354:14)
at param (/var/www/ghost/versions/1.22.6/node_modules/express/lib/router/index.js:365:14)
at Function.process_params (/var/www/ghost/versions/1.22.6/node_modules/express/lib/router/index.js:410:3)
at next (/var/www/ghost/versions/1.22.6/node_modules/express/lib/router/index.js:275:10)
at Function.handle (/var/www/ghost/versions/1.22.6/node_modules/express/lib/router/index.js:174:3)
at router (/var/www/ghost/versions/1.22.6/node_modules/express/lib/router/index.js:47:12)
at Layer.handle [as handle_request] (/var/www/ghost/versions/1.22.6/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/var/www/ghost/versions/1.22.6/node_modules/express/lib/router/index.js:317:13)
at /var/www/ghost/versions/1.22.6/node_modules/express/lib/router/index.js:284:7
- have a production ghost installed as a backend for haproxy.