mirror of
1
Fork 0
forgejo/docs/content/administration
wxiaoguang 998cea5888
Use secure cookie for HTTPS sites (#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.

![image](https://github.com/go-gitea/gitea/assets/2114189/7bc9a859-dcc1-467d-bc7c-1dd6a10389e3)
2023-09-11 17:03:51 +08:00
..
_index.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
_index.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
_index.zh-tw.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
adding-legal-pages.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
adding-legal-pages.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
backup-and-restore.en-us.md Update backup instructions to align with archive structure (#26902) 2023-09-05 09:26:12 +08:00
backup-and-restore.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
backup-and-restore.zh-tw.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
cmd-embedded.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
cmd-embedded.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
command-line.en-us.md clarify aspects of the dump command (#26887) 2023-09-03 14:44:01 -04:00
command-line.zh-cn.md Expanded minimum RSA Keylength to 3072 (#26604) 2023-08-28 00:53:16 +00:00
config-cheat-sheet.en-us.md Use secure cookie for HTTPS sites (#26999) 2023-09-11 17:03:51 +08:00
config-cheat-sheet.zh-cn.md Use secure cookie for HTTPS sites (#26999) 2023-09-11 17:03:51 +08:00
customizing-gitea.en-us.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
customizing-gitea.zh-cn.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
email-setup.en-us.md Update Gmail example (#26302) 2023-08-03 18:20:40 +08:00
email-setup.zh-cn.md Update email-setup.en-us.md (#26068) 2023-07-26 21:50:15 +08:00
environment-variables.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
environment-variables.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
external-renderers.en-us.md Update documents to fix some links (#26885) 2023-09-03 18:45:20 +00:00
external-renderers.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
fail2ban-setup.en-us.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
fail2ban-setup.zh-cn.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
git-lfs-support.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
git-lfs-support.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
https-support.en-us.md Update documents to fix some links (#26885) 2023-09-03 18:45:20 +00:00
https-support.zh-cn.md Update documents to fix some links (#26885) 2023-09-03 18:45:20 +00:00
logging-config.en-us.md Clarify the logger's MODE config option (#26267) 2023-08-01 18:28:23 +00:00
logging-config.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
mail-templates.en-us.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
mail-templates.zh-cn.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
repo-indexer.en-us.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
repo-indexer.zh-cn.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
reverse-proxies.en-us.md Update nginx recommendations (#26924) 2023-09-06 17:49:45 +00:00
reverse-proxies.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search-engines-indexation.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search-engines-indexation.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
signing.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
signing.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00