Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corriger la déclaration de http2 dans les sites Nginx #65

Open
philippemilink opened this issue Aug 8, 2024 · 0 comments
Open

Corriger la déclaration de http2 dans les sites Nginx #65

philippemilink opened this issue Aug 8, 2024 · 0 comments

Comments

@philippemilink
Copy link
Member

philippemilink commented Aug 8, 2024

Vu sur Twitter :

/!\ à partir de la version 1.25 de nginx, celui refusera de valider la config et démarrer, si un de vos virtual hosts en https a la ligne
listen ip:443 ssl http2;

il faut désormais mettre:
listen ip:443 ssl;
http2 on;

En effet, le changelog de la version 1.26 nous indique :

Feature: the "http2" directive, which enables HTTP/2 on a per-server basis; the "http2" parameter of the "listen" directive is now deprecated.

Nginx 1.26 sera disponible avec la prochaine version de Debian, sans doute qu'on peut déjà adapter les fichiers de configuration, non on a actuellement Nginx 1.22 où la directive http2 on n'est pas reconnue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant