Require nginx, HTTPS and HTTP/2 for Vite

What does this merge request do and why?

Vite doesn't work properly without HTTPS and HTTP/2 (case 1, case 2). With HTTP/1.1 Vite can not load the page in a reasonable time because of how it fetches JavaScript.

This MR explicitly requires nginx, HTTPS and HTTP/2 to be configured prior to enabling Vite. We need all three of these because we're using Rails host to fetch these assets. With HTTPS only we're still using HTTP/1.1. HTTP/2 is not possible without HTTPS and without nginx (Workhorse server is still using HTTP/1.1 with HTTPS enabled).

This requirement will be removed once we complete these:

Related Improve Vite's performance with HTTP router ena... (gitlab#520707 - closed).

Impacted categories

The following categories relate to this merge request:

Merge request checklist

  • This MR references an issue describing the change.
  • This change is backward compatible. If not, please include steps to communicate to our users.
  • Tests added for new functionality. If not, please raise an issue to follow-up.
  • Documentation added/updated, if needed.
  • Announcement added, if change is notable.
  • gdk doctor test added, if needed.

Merge request reports

Loading