Add support for latin1 encoding of input files. #2
This commit is contained in:
20
test-files/umlaut-latin1.conf
Normal file
20
test-files/umlaut-latin1.conf
Normal file
@@ -0,0 +1,20 @@
|
||||
http {
|
||||
server {
|
||||
listen 80 default_server;
|
||||
server_name example.com;
|
||||
|
||||
# redirect auf https://www....
|
||||
location / {
|
||||
return 301 https://www.example.com$request_uri;
|
||||
}
|
||||
|
||||
# Statusseite für Monitoring freigeben
|
||||
# line above contains german umlaut causing problems
|
||||
location /nginx_status {
|
||||
stub_status on;
|
||||
access_log off;
|
||||
allow 127.0.0.1;
|
||||
deny all;
|
||||
}
|
||||
}
|
||||
}
|
||||
20
test-files/umlaut-utf8.conf
Normal file
20
test-files/umlaut-utf8.conf
Normal file
@@ -0,0 +1,20 @@
|
||||
http {
|
||||
server {
|
||||
listen 80 default_server;
|
||||
server_name example.com;
|
||||
|
||||
# redirect auf https://www....
|
||||
location / {
|
||||
return 301 https://www.example.com$request_uri;
|
||||
}
|
||||
|
||||
# Statusseite für Monitoring freigeben
|
||||
# line above contains german umlaut causing problems
|
||||
location /nginx_status {
|
||||
stub_status on;
|
||||
access_log off;
|
||||
allow 127.0.0.1;
|
||||
deny all;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user