server-configs-nginx/h5bp
Vincent Herbet d2f597235a Do no use non-ASCII characters in loaded configs
I had an issue with Certbot (let's encrypt) which failed to reload nginx due to a non-ASCII character in a loaded config file.
E.g.: `Attempting to renew cert (domain.com) from /etc/letsencrypt/renewal/domain.com.conf produced an unexpected error: 'ascii' codec can't decode byte 0xe2 in position 762: ordinal not in range(128). Skipping.`

I found this character using `grep -r -P '[^\x00-\x7f]' /etc/nginx`.
2020-02-05 18:33:14 +01:00
..
cross-origin Documentation formatting and reviewing (#232) 2019-05-15 23:20:10 +02:00
errors Split directives to enforce atomic structure 2018-11-23 17:19:51 +01:00
internet_explorer Fix rebase artifacts 2019-05-16 00:16:59 +02:00
location Fix rebase artifacts 2019-05-16 00:16:59 +02:00
media_types Documentation formatting and reviewing (#232) 2019-05-15 23:20:10 +02:00
security Do no use non-ASCII characters in loaded configs 2020-02-05 18:33:14 +01:00
ssl Fixed description for SSL session cache & timeout (#237) 2019-09-08 00:46:31 +02:00
web_performance Rename no-transform.conf file to content_transformation.conf 2020-01-04 18:06:00 +01:00
basic.conf Drop Cache-Control: no-transform usage 2019-05-15 18:24:30 +02:00