Welcome! Log In Create A New Profile

Advanced

Re: http2 broke links in code

Valentin V. Bartenev
August 14, 2015 12:14PM
On Friday 14 August 2015 15:02:12 dims wrote:
> 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
[...]

Thanks for the report.
Please, try the new patch: http://nginx.org/patches/http2/

wbr, Valentin V. Bartenev

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

http2 broke links in code

dims 576 August 14, 2015 06:54AM

Re: http2 broke links in code

Valentin V. Bartenev 247 August 14, 2015 07:30AM

Re: http2 broke links in code

dims 260 August 14, 2015 08:04AM

Re: http2 broke links in code

Valentin V. Bartenev 266 August 14, 2015 12:14PM

Re: http2 broke links in code

dims 309 August 17, 2015 02:22AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 96
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready