> I use nginx 1.11.3 with nginx upload module.The problem is that Nginx upload
> module don't support HTTP/2 and thus when you upload you get 500 Internal
> Error.

Use a dedicated subdomain, like upload.mywebsite.com.



> For now i am trying to useĀ  a separate server block to disable http2 just
> for the upload and enable it for the rest

This cannot work. The protocol is set in stone before a request is emitted, 
therefor you cannot select the protocol based on the location.



> server_name mywebsite.com/upload;

That's not a valid server_name. A server_name is a hostname.


Lukas

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to