http2 broke links in code

dims dims.main at gmail.com
Mon Aug 17 06:21:21 UTC 2015


Thanks - work fine now!

> Valentin V. Bartenev <mailto:vbart at nginx.com>
> August 14, 2015 at 7:11 PM
> [...]
>
> Thanks for the report.
> Please, try the new patch: http://nginx.org/patches/http2/
>
> wbr, Valentin V. Bartenev
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
> dims <mailto:dims.main at gmail.com>
> August 14, 2015 at 3:02 PM
> Yes, you right, my mistake
> But found problem why dont work our code.
> We use nginx + php-fpm and variable HTTP_HOST in code
> Config:
>         location ~ \.(html|php)$ {
>             rewrite ^(.+)\.html$ $1.php break;
>             include /etc/nginx/fastcgi_params;
>             fastcgi_pass unix:/var/lib/nginx/php-fpm.sock;
>             fastcgi_index index.php;
>             fastcgi_param SCRIPT_FILENAME 
> $document_root$fastcgi_script_name;
>             fastcgi_split_path_info ^(.+\.php)(/.+)$;
>             try_files $uri =404;
>         }
>
> When enable http2 variable HTTP_HOST absent in phpinfo
> If set fastcgi_param HTTP_HOST $http_host; in phpinfo():
> _SERVER["HTTP_HOST"]    no value
>
> Valentin V. Bartenev <mailto:vbart at nginx.com>
> August 14, 2015 at 2:29 PM
>
> HTTP/2 does nothing with page content. You're probably using 3-rd party
> modules like mod_pagespeed or something else.
>
> wbr, Valentin V. Bartenev
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20150817/dc8c6f7a/attachment.html>


More information about the nginx-devel mailing list