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
_index.zh-cn.md
_index.zh-tw.md
adding-legal-pages.en-us.md
adding-legal-pages.zh-cn.md
backup-and-restore.en-us.md
backup-and-restore.zh-cn.md
backup-and-restore.zh-tw.md
cmd-embedded.en-us.md
cmd-embedded.zh-cn.md
command-line.en-us.md
command-line.zh-cn.md
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
customizing-gitea.zh-cn.md
email-setup.en-us.md [docs] Fix Gmail configuration (#26356) 2023-08-21 07:22:17 +02:00
email-setup.zh-cn.md
environment-variables.en-us.md
environment-variables.zh-cn.md
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
fail2ban-setup.en-us.md
fail2ban-setup.zh-cn.md
git-lfs-support.en-us.md
git-lfs-support.zh-cn.md
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
mail-templates.en-us.md
mail-templates.zh-cn.md
repo-indexer.en-us.md
repo-indexer.zh-cn.md
reverse-proxies.en-us.md
reverse-proxies.zh-cn.md
search-engines-indexation.en-us.md
search-engines-indexation.zh-cn.md
signing.en-us.md
signing.zh-cn.md