mirror of
https://github.com/go-gitea/gitea.git
synced 2025-04-08 17:05:45 +02:00
Backport #34100 by @ManInDark Fixes #34099. Resolved by checking the `key-cert.pub` location alongside the previously configured location. In case a certificate is already found, this won't change anything, but if there is one in `key-cert.pub` but not in `key_cert`, it'll use that one now. Co-authored-by: ManInDark <61268856+ManInDark@users.noreply.github.com>