On 25/04/2016 08:04, Vincent Massol wrote:
I’ve documented this at
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/NginX#HRequestEntityToo…
BTW, would be great if you could validate the nginx configuration there. It was entered
by a contributor and not by any member of the xwiki dev team (we don’t use nginx) so we
don’t know if the config is good or not, and thus it can be promoted as a good
configuration to follow. Do you think you could do that?
I can't really validate that config as a whole as it serves its own
purpose (and I'm no nginx expert).
But taking a quick look the basic proxy configuration (the last location
section) looks OK to me.
The major comment I would have is that this is not a proxy setup for
using TLS, which would normally be one of the main reasons for using a
reverse proxy.
I'd be happy to send you my config (that does handle TLS) though I'd
need to "sanitise" it a bit first.
Tim