forgejo/docs
wxiaoguang b0a405c5fa
Use secure cookie for HTTPS sites (#26999) (#27013)
Backport #26999

If the AppURL(ROOT_URL) is an HTTPS URL, then the COOKIE_SECURE's
default value should be true.

And, if a user visits an "http" site with "https" AppURL, they won't be
able to login, and they should have been warned. The only problem is
that the "language" can't be set either in such case, while I think it
is not a serious problem, and it could be fixed easily if needed.
2023-09-11 09:59:00 +00:00
..
content Use secure cookie for HTTPS sites (#26999) (#27013) 2023-09-11 09:59:00 +00:00
scripts Run hugo via go run and lock its version (#22206) 2022-12-21 21:09:53 -05:00
static Docusaurus-ify 1.20 (#26052) 2023-07-26 10:00:14 +08:00
.gitignore Support Issue forms and PR forms (#20987) 2022-09-02 15:58:49 +08:00
LICENSE Import docs into main repository (#2874) 2017-11-26 23:44:32 +02:00
README.md Docusaurus-ify 1.20 (#26052) 2023-07-26 10:00:14 +08:00
README_ZH.md Docusaurus-ify 1.20 (#26052) 2023-07-26 10:00:14 +08:00

Gitea: Docs

Join the chat at https://img.shields.io/discord/322538954119184384.svg

These docs are ingested by our docs repo.

Authors

License

This project is under the Apache-2.0 License. See the LICENSE file for the full license text.

Copyright (c) 2016 The Gitea Authors <https://gitea.io>