Skip to content

Commit 0ba8336

Browse files
committed
Apache2: Ensure plaintext files are served using UTF-8
1 parent b7fed40 commit 0ba8336

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/web-sites-available/000-default.conf

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ ServerName localhost:8080
77
RewriteEngine On
88

99
###########################################################################
10+
# Ensure plaintext files are served using UTF-8
11+
AddCharset utf-8 .txt
1012
# Set conservative/secure defaults
1113
<Directory />
1214
AllowOverride None

0 commit comments

Comments
 (0)