Enable support to HTTP/2 by default #7690

Closed
opened 2025-12-29 20:27:02 +01:00 by adam · 3 comments
Owner

Originally created by @MuriloChianfa on GitHub (Feb 27, 2023).

NetBox version

v3.4.5

Feature type

New functionality

Proposed functionality

Nowsaday we have new HTTP procotol versions, one of this is HTTP2, and my feature request is to enable the support for it.

Use case

This functionality improve the load speed of severs requests, one of your most important improviment is the multiplexing feature, speeuping the requests.

Database changes

No response

External dependencies

Guide to implement HTTP/2 support:
https://httpd.apache.org/docs/2.4/howto/http2.html

Originally created by @MuriloChianfa on GitHub (Feb 27, 2023). ### NetBox version v3.4.5 ### Feature type New functionality ### Proposed functionality Nowsaday we have new HTTP procotol versions, one of this is HTTP2, and my feature request is to enable the support for it. ### Use case This functionality improve the load speed of severs requests, one of your most important improviment is the multiplexing feature, speeuping the requests. ### Database changes _No response_ ### External dependencies Guide to implement HTTP/2 support: https://httpd.apache.org/docs/2.4/howto/http2.html
adam added the type: featurestatus: revisions needed labels 2025-12-29 20:27:02 +01:00
adam closed this issue 2025-12-29 20:27:02 +01:00
Author
Owner

@jeremystretch commented on GitHub (Feb 27, 2023):

and my feature request is to enable the support for it.

By making what changes, specifically?

@jeremystretch commented on GitHub (Feb 27, 2023): > and my feature request is to enable the support for it. By making what changes, specifically?
Author
Owner

@MuriloChianfa commented on GitHub (Feb 27, 2023):

maybe adding a new apache2 config file at /etc/apache2/conf-available/http2.conf

<IfModule http2_module>
    Protocols h2 h2c http/1.1
    H2Direct on
</IfModule>

enabling http2 apache module and conf

sudo a2enmod http2
sudo a2enconf http2

and restarting the server

sudo service apache2 restart

the instructions of load module can be added in documentation at installation topic
https://docs.netbox.dev/en/stable/installation/5-http-server/

but it is only for apache2, for nginx i dont know how to do it >.<

@MuriloChianfa commented on GitHub (Feb 27, 2023): maybe adding a new apache2 config file at /etc/apache2/conf-available/http2.conf ```bash <IfModule http2_module> Protocols h2 h2c http/1.1 H2Direct on </IfModule> ``` enabling http2 apache module and conf ```bash sudo a2enmod http2 sudo a2enconf http2 ``` and restarting the server ```bash sudo service apache2 restart ``` the instructions of load module can be added in documentation at installation topic https://docs.netbox.dev/en/stable/installation/5-http-server/ but it is only for apache2, for nginx i dont know how to do it >.<
Author
Owner

@jeremystretch commented on GitHub (Mar 1, 2023):

There are myriad additional configurations that could be made to the HTTP daemon to support different features; these are out of scope for the NetBox documentation. The reference configuration is a minimal example to get users up and running. Are you aware of any changes that would need to be made to the code itself?

@jeremystretch commented on GitHub (Mar 1, 2023): There are myriad additional configurations that could be made to the HTTP daemon to support different features; these are out of scope for the NetBox documentation. The reference configuration is a minimal example to get users up and running. Are you aware of any changes that would need to be made to the code itself?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7690