diff --git a/calibre-web.subdomain.conf.sample b/calibre-web.subdomain.conf.sample index ca6bbde7..b75eba34 100644 --- a/calibre-web.subdomain.conf.sample +++ b/calibre-web.subdomain.conf.sample @@ -64,13 +64,15 @@ server { # Feed for Kobo location /kobo/ { - include /config/nginx/proxy.conf; include /config/nginx/resolver.conf; set $upstream_app calibre-web; set $upstream_port 8083; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; + proxy_set_header X-Forwarded-Host $http_host; proxy_set_header X-Scheme $scheme; - proxy_buffer_size 32k; + proxy_buffer_size 128k; + proxy_buffers 4 256k; + proxy_busy_buffers_size 256k; } } \ No newline at end of file