I set up a new virtual host on my nginx web-server only for directory listing of my iso-image collection.
Some of my folders had cyrillic names and they were unfortunately not readable:
With a tiny (charset) option its possible to force a specific charset, here it is:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | server { server_name zeldor.biz; listen [::]:80; server_tokens off; charset utf-8; autoindex on; location / { root some_path; auth_basic "Marvin said: No!"; auth_basic_user_file some_path; access_log some_path; error_log some_path; } } |
Андрей says
Спасибо, помогло.