1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-10 12:14:25 +00:00
gitea/custom/conf
zeripath 1d7b7504d0
Make CertFile and KeyFile relative to CustomPath (#9868)
* Make CertFile and KeyFile relative to CustomPath

The current code will absolute CertFile and KeyFile against the current working directory. This is quite unexpected for users. This code makes relative paths absolute against the CustomPath.

Fix #4196

* Improve error reporting when reading certificates

* Apply suggestions from code review

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
2020-01-19 19:07:44 +00:00
..
app.ini.sample Make CertFile and KeyFile relative to CustomPath (#9868) 2020-01-19 19:07:44 +00:00