Re: AW: AW: AW: Disabling HTTP/2 for a specific location

2016-08-19 Thread khav
Ah that was stupid... i forgot to copy the php location from my other server block Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268988,269058#msg-269058 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: AW: AW: AW: Disabling HTTP/2 for a specific location

2016-08-19 Thread Valentin V. Bartenev
On Friday 19 August 2016 08:22:42 khav wrote: [..] > server { > listen 80; > server_name mywebsite.com; > location = /upload { > #module settings goes here > upload_pass @uploadhandler; > } > > location @uploadhandler { > root /var/www/mywebsite.com/public_html/www; > rewrite ^ /upload.ph

Re: AW: AW: AW: Disabling HTTP/2 for a specific location

2016-08-19 Thread khav
Here is a simplified version of the config.I get 405 (Method not allowed).Documentation for the module say that the error happen if the request method is not POST http://www.grid.net.ru/nginx/upload.en.html server { listen 443 http2; location = /upload { proxy_pass http://mywebsite.com/uplo

Re: AW: AW: Disabling HTTP/2 for a specific location

2016-08-19 Thread khav
Here is a simplified version of the config.I get 405 (Method not allowed).Documentation for the module say that the error happen if the request method is not POST http://www.grid.net.ru/nginx/upload.en.html server { listen 443 http2; location = /upload { proxy_pass http://mywebsite.com/upl

AW: AW: AW: Disabling HTTP/2 for a specific location

2016-08-18 Thread Lukas Tribus
> @Lukas do you mean something like this Yes, that's what I mean. Lukas ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: AW: AW: Disabling HTTP/2 for a specific location

2016-08-18 Thread khav
@Lukas do you mean something like this location = /upload { proxy_pass http://mywebsite.com/upload; } server { listen 80; server_name mywebsite.com; location = /upload { } } Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268988,269037#msg-269037 ___

AW: AW: Disabling HTTP/2 for a specific location

2016-08-16 Thread Lukas Tribus
Hello, On 08/16/16 07:37, Lukas Tribus wrote: >> 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. > > This will not work unl

Re: AW: Disabling HTTP/2 for a specific location

2016-08-16 Thread Jim Ohlstein
Hello, On 08/16/16 07:37, Lukas Tribus wrote: 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. This will not work unless the subd

AW: Disabling HTTP/2 for a specific location

2016-08-16 Thread Lukas Tribus
> 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 >