plugins icon indicating copy to clipboard operation
plugins copied to clipboard

[os-nginx] Disable http2 for a domain

Open rdhia opened this issue 1 year ago • 0 comments

Important notices Before you add a new report, we ask you kindly to acknowledge the following:

  • [X] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
  • [X] I have searched the existing issues, open and closed, and I'm convinced that mine is new.
  • [X] When the request is meant for an existing plugin, I've added its name to the title.

Is your feature request related to a problem? Please describe. there is an issue with Safari browser on some sites when http2 is enabled 1- first request is got in HTTP/2 2- nginx forward it to upstream in HTTP/1.1 (or 1.0) 2 is not possible 3- safari get the first html page but don't proceed with subsequent requests for included resources (css, js..) (may be waiting them to be streamed in http/2 connection) 4- connection fails

the same problem is described also in the forum

Describe the solution you'd like a checkbox to disable http2 on 'HTTP server' page ui/nginx#subtab_nginx-http-httpserver gui page

Describe alternatives you've considered adding type='text/css' like in <link rel="stylesheet" type='text/css' href="vendors/bootstrap/dist/css/bootstrap.min.css"> pushed safari to load the resources !

Additional context os-nginx 1.34 opnsense 24.7.1 http2 always on in /usr/local/opnsense/service/templates/OPNsense/Nginx/http.conf http2-always-on

rdhia avatar Oct 01 '24 16:10 rdhia