-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
type/docsThis PR mainly updates/creates documentationThis PR mainly updates/creates documentation
Description
- Gitea version (or commit ref): 1.13
- Git version:
- Operating system: Docker / Kubernetes
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Log gist:
Description
It took me litterally 1 hour to figure out how to configure the sessions properly with Postgres. The offical Gitea Documentation is really lite on that topic as you can see here https://docs.gitea.io/en-us/config-cheat-sheet/#session-session
There are only 2 lines that describe how to configure it but doesn't mention how to do it exactly. A example would be great here.
After searching in the code I found out that Gitea uses a library for that and the library has a wonderfull documentation. Maybe it make sense to a) either link their documentation in the Gitea documentation or b) copy the important parts out of it and further reference them.
https://go-macaron.com/middlewares/session#postgresql
What do you think?
...
Screenshots
ndaidong
Metadata
Metadata
Assignees
Labels
type/docsThis PR mainly updates/creates documentationThis PR mainly updates/creates documentation