summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMohamed Karrab <karrab2015@gmail.com>2025-08-18 20:28:06 +0100
committerpluknet <pluknet@nginx.com>2025-08-19 15:47:51 +0400
commit446ce033e5b9e192e228638e826f2a39328d879c (patch)
tree7a8a474ead6de35a5970a39acd6433bce2df8601
parent1a82df8cca80458fc3da0968f64624f40cafdf37 (diff)
downloadnginx-446ce033e5b9e192e228638e826f2a39328d879c.tar.gz
nginx-446ce033e5b9e192e228638e826f2a39328d879c.tar.bz2
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.
-rw-r--r--conf/nginx.conf2
1 files changed, 0 insertions, 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 / {