forgejo/docs/content/administration
wxiaoguang 8f6d442a04
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.

(cherry picked from commit b0a405c5fa)
2023-09-20 12:50:46 +02:00
..
_index.en-us.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
_index.zh-cn.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
_index.zh-tw.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
adding-legal-pages.en-us.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
adding-legal-pages.zh-cn.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
backup-and-restore.en-us.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
backup-and-restore.zh-cn.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
backup-and-restore.zh-tw.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
cmd-embedded.en-us.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
cmd-embedded.zh-cn.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
command-line.en-us.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
command-line.zh-cn.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
config-cheat-sheet.en-us.md Use secure cookie for HTTPS sites (#26999) (#27013) 2023-09-20 12:50:46 +02:00
config-cheat-sheet.zh-cn.md Use secure cookie for HTTPS sites (#26999) (#27013) 2023-09-20 12:50:46 +02:00
customizing-gitea.en-us.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
customizing-gitea.zh-cn.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
email-setup.en-us.md [docs] Fix Gmail configuration (#26356) 2023-08-21 07:22:17 +02:00
email-setup.zh-cn.md Update email-setup.en-us.md (#26068) (#26166) 2023-07-30 07:43:05 +02:00
environment-variables.en-us.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
environment-variables.zh-cn.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
external-renderers.en-us.md Update documents to fix some links (#26885) (#26888) 2023-09-08 08:09:18 +02:00
external-renderers.zh-cn.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
fail2ban-setup.en-us.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
fail2ban-setup.zh-cn.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
git-lfs-support.en-us.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
git-lfs-support.zh-cn.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
https-support.en-us.md Update documents to fix some links (#26885) (#26888) 2023-09-08 08:09:18 +02:00
https-support.zh-cn.md Update documents to fix some links (#26885) (#26888) 2023-09-08 08:09:18 +02:00
logging-config.en-us.md Clarify the logger's MODE config option (#26267) (#26281) 2023-08-21 07:22:16 +02:00
logging-config.zh-cn.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
mail-templates.en-us.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
mail-templates.zh-cn.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
repo-indexer.en-us.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
repo-indexer.zh-cn.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
reverse-proxies.en-us.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
reverse-proxies.zh-cn.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
search-engines-indexation.en-us.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
search-engines-indexation.zh-cn.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
signing.en-us.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
signing.zh-cn.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00