diff --git a/runbot/templates/nginx.xml b/runbot/templates/nginx.xml index 1512973e..daa4e8c0 100644 --- a/runbot/templates/nginx.xml +++ b/runbot/templates/nginx.xml @@ -7,6 +7,7 @@ error_log /error.log; worker_processes 1; events { worker_connections 1024; } http { +charset utf-8; include /etc/nginx/mime.types; server_names_hash_max_size 512; server_names_hash_bucket_size 256; @@ -25,6 +26,8 @@ autoindex on; gzip on; gzip_types text/css text/plain application/xml application/json application/javascript; +charset_types text/plain; + map $http_x_forwarded_proto $real_scheme { default $http_x_forwarded_proto; '' $scheme;