forgejo/docs/content/administration
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
..
_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-11 09:59:00 +00:00
config-cheat-sheet.zh-cn.md Use secure cookie for HTTPS sites (#26999) (#27013) 2023-09-11 09:59:00 +00:00
customizing-gitea.en-us.md Use docs.gitea.com instead of docs.gitea.io (#26769) 2023-08-28 19:58:16 +08:00
customizing-gitea.zh-cn.md Use docs.gitea.com instead of docs.gitea.io (#26769) 2023-08-28 19:58:16 +08:00
email-setup.en-us.md [docs] Fix Gmail configuration (#26356) 2023-08-06 12:02:43 -04: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-03 19:37:42 +00:00
external-renderers.zh-cn.md
fail2ban-setup.en-us.md Use docs.gitea.com instead of docs.gitea.io (#26769) 2023-08-28 19:58:16 +08:00
fail2ban-setup.zh-cn.md Use docs.gitea.com instead of docs.gitea.io (#26769) 2023-08-28 19:58:16 +08:00
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-03 19:37:42 +00:00
https-support.zh-cn.md Update documents to fix some links (#26885) (#26888) 2023-09-03 19:37:42 +00:00
logging-config.en-us.md Clarify the logger's MODE config option (#26267) (#26281) 2023-08-02 01:08:28 +02:00
logging-config.zh-cn.md
mail-templates.en-us.md Use docs.gitea.com instead of docs.gitea.io (#26769) 2023-08-28 19:58:16 +08:00
mail-templates.zh-cn.md Use docs.gitea.com instead of docs.gitea.io (#26769) 2023-08-28 19:58:16 +08:00
repo-indexer.en-us.md Use docs.gitea.com instead of docs.gitea.io (#26769) 2023-08-28 19:58:16 +08:00
repo-indexer.zh-cn.md Use docs.gitea.com instead of docs.gitea.io (#26769) 2023-08-28 19:58:16 +08:00
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