githaven-fork/docs/content/doc/administration
Gary Moon 29194a9dd6
Correct the access log format (#24085)
The default access log format has been unnecessarily escaped, leading to
spurious backslashes appearing in log lines.

Additionally, the `RemoteAddr` field includes the port, which breaks
most log parsers attempting to process it. I've added a call to
`net.SplitHostPort()` attempting to isolate the address alone, with a
fallback to the original address if it errs.

Signed-off-by: Gary Moon <gary@garymoon.net>
2023-04-13 21:14:06 +08:00
..
adding-legal-pages.en-us.md Update docs markdown file weight to make it clear (#23909) 2023-04-04 21:47:31 +08:00
backup-and-restore.en-us.md Adjust some documentations titles (#23941) 2023-04-06 11:06:32 +02:00
backup-and-restore.zh-cn.md Restructure documentation. Now the documentation has installation, administration, usage, development, contributing the 5 main parts (#23629) 2023-03-23 23:18:24 +08:00
backup-and-restore.zh-tw.md Restructure documentation. Now the documentation has installation, administration, usage, development, contributing the 5 main parts (#23629) 2023-03-23 23:18:24 +08:00
cmd-embedded.en-us.md Update docs markdown file weight to make it clear (#23909) 2023-04-04 21:47:31 +08:00
command-line.en-us.md Adjust some documentations titles (#23941) 2023-04-06 11:06:32 +02:00
config-cheat-sheet.en-us.md Correct the access log format (#24085) 2023-04-13 21:14:06 +08:00
config-cheat-sheet.zh-cn.md Correct the access log format (#24085) 2023-04-13 21:14:06 +08:00
customizing-gitea.en-us.md Update docs markdown file weight to make it clear (#23909) 2023-04-04 21:47:31 +08:00
customizing-gitea.zh-cn.md Update docs markdown file weight to make it clear (#23909) 2023-04-04 21:47:31 +08:00
email-setup.en-us.md Adjust some documentations titles (#23941) 2023-04-06 11:06:32 +02:00
environment-variables.en-us.md Update docs markdown file weight to make it clear (#23909) 2023-04-04 21:47:31 +08:00
environment-variables.zh-cn.md Update docs markdown file weight to make it clear (#23909) 2023-04-04 21:47:31 +08:00
external-renderers.en-us.md Update docs markdown file weight to make it clear (#23909) 2023-04-04 21:47:31 +08:00
fail2ban-setup.en-us.md Adjust some documentations titles (#23941) 2023-04-06 11:06:32 +02:00
fail2ban-setup.zh-cn.md Adjust some documentations titles (#23941) 2023-04-06 11:06:32 +02:00
git-lfs-support.en-us.md Adjust some documentations titles (#23941) 2023-04-06 11:06:32 +02:00
https-support.en-us.md Adjust some documentations titles (#23941) 2023-04-06 11:06:32 +02:00
https-support.zh-cn.md Fix markdownlint (#24024) 2023-04-09 14:39:37 -04:00
logging-documentation.en-us.md Correct the access log format (#24085) 2023-04-13 21:14:06 +08:00
mail-templates.en-us.md docs: fix typo (#23924) 2023-04-04 11:22:45 -04:00
repo-indexer.en-us.md Restructure documentation. Now the documentation has installation, administration, usage, development, contributing the 5 main parts (#23629) 2023-03-23 23:18:24 +08:00
reverse-proxies.en-us.md Adjust some documentations titles (#23941) 2023-04-06 11:06:32 +02:00
reverse-proxies.zh-cn.md Update docs markdown file weight to make it clear (#23909) 2023-04-04 21:47:31 +08:00
search-engines-indexation.en-us.md Adjust some documentations titles (#23941) 2023-04-06 11:06:32 +02:00
signing.en-us.md Update docs markdown file weight to make it clear (#23909) 2023-04-04 21:47:31 +08:00