pedestal

dangercoder 2020-12-03T14:43:32.275500Z

Hi, I have a problem with using Pedestal on Kubernetes (most likely due to the default security in Pedestal) I keep on getting "connection refused", I can see that the readiness probe hitting the application web server: 14:40:40.294 [qtp1307000786-19] INFO io.pedestal.http - {:msg "GET /health", :line 80} I currently have this config:

::http/type           :jetty
                     ::http/secure-headers nil
                     ::http/host           "0.0.0.0"
                     ::http/port           port
                     ::http/enable-csrf    false
Anyone who have had similar issues?

dangercoder 2020-12-03T14:47:34.275600Z

actually I fixed it with my current config. It was the secure headers setting that made it not work 🙂