nginx
About
Install
1 apt install nginx
Configure
http2
https://www.nginx.com/blog/http2-module-nginx/
- Binary protocol
- harder to debug
- a tick faster
- a bit less CPU usage
- Multiplexing
- Lowers overhead of connection establishment
- Header compression
- Prioritization
/etc/nginx/sites-available/vhost.conf
Streams
The directive stream may only be embedded in the context main.
nginx.org docs - Module ngx_stream_core_module #stream
Modules are included in the main configuration. So we can also include their configuration from there
/etc/nginx/modules-available/51-mod-stream_ff-sync.conf
Now enable the config