If you host the PowerServer Web APIs in IIS 10.0 or later, or run the PowerServer Web APIs using the built-in ASP.NET Core (3.0 or later) Kestrel server, PowerServer automatically supports HTTP/2. You don't need to change any setting in PowerServer or IIS for HTTP/2 to work, as it is enabled by default in IIS 10 or later and ASP.NET Core 3.0 or later. For more, refer to https://docs.microsoft.com/iis/get-started/whats-new-in-iis-10/http2-on-iis or https://docs.microsoft.com/aspnet/core/fundamentals/servers/kestrel/http2.
If you host the PowerServer Web APIs in Apache 2.4.17 or later (a reverse proxy server) and OpenSSL 1.0.2 or later, PowerServer automatically supports HTTP/2.
If you host the PowerServer Web APIs in Nginx 1.9.5 (a reverse proxy server) or later and OpenSSL 1.0.2 or later, PowerServer automatically supports HTTP/2. For more, refer to http://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_protocols.