gofiber / fiber

⚡️ Express inspired web framework written in Go

Home Page:https://gofiber.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🤗 [Question]: Fiber http with Cloudflare ssl reverse leading to 525, SSL handshake failed

nea opened this issue · comments

Question Description

Hi there

I am trying to setup a just normally running app.Listen() behind a Cloudflare SSL instance. Configuration to IP and mapping works fine. But the issue is an error SSL handshake failed Error code 525 and I am not really sure what to do.

Is the only option I have if I want to TLS secure my server to have the certs myself or setup an autocert system? Is this additionally required? Can it be just Browser -> Cloudflare (SSL) -> Server (plain)?

Probably some stupid questions and I am just misreading/overlooking some things. I looked and Googled around but am a little lost right now (maybe its the weather ^^').

Thanks for any pointing in the right direction.

Thanks

Code Snippet (optional)

package main

import "github.com/gofiber/fiber/v3"
import "log"

func main() {
  app := fiber.New()

  // An example to describe the question

  log.Fatal(app.Listen(":3000"))
}

Checklist:

  • I agree to follow Fiber's Code of Conduct.
  • I have checked for existing issues that describe my questions prior to opening this one.
  • I understand that improperly formatted questions may be closed without explanation.

Thanks for opening your first issue here! 🎉 Be sure to follow the issue template! If you need help or want to chat with us, join us on Discord https://gofiber.io/discord

Strict handling issue... totally my bad. When writing about it, you just grasp my own idiocracy. Thousand times Sorry