[nginx] Removed legacy charset directive from default config example.
noreply at nginx.com
noreply at nginx.com
Wed Aug 27 01:59:29 UTC 2025
details: https://github.com/nginx/nginx/commit/446ce033e5b9e192e228638e826f2a39328d879c
branches: master
commit: 446ce033e5b9e192e228638e826f2a39328d879c
user: Mohamed Karrab <karrab2015 at gmail.com>
date: Mon, 18 Aug 2025 20:28:06 +0100
description:
Removed legacy charset directive from default config example.
The example configuration previously specified 'charset koi8-r',
which is a legacy Cyrillic encoding. As koi8-r is rarely used today
and modern browsers handle UTF-8 by default, specifying the charset
explicitly is unnecessary. Removing the directive keeps the example
configuration concise and aligned with current best practices.
---
conf/nginx.conf | 2 --
1 file changed, 2 deletions(-)
diff --git a/conf/nginx.conf b/conf/nginx.conf
index 29bc085f2..2315a8663 100644
--- a/conf/nginx.conf
+++ b/conf/nginx.conf
@@ -36,8 +36,6 @@ http {
listen 80;
server_name localhost;
- #charset koi8-r;
-
#access_log logs/host.access.log main;
location / {
More information about the nginx-devel
mailing list