+ Next.js + NGINX Runtime Configuration Demo +
+
+ {apiUrl}
+
+
+ {appName}
+
+ + This feature is controlled by the FEATURE_X_ENABLED configuration value. + It can be overridden at runtime via NGINX without rebuilding the application. +
++ This feature is currently disabled. You can enable it by setting + FEATURE_X_ENABLED to true in the runtime configuration. +
++ {JSON.stringify(config, null, 2)} ++
+ This configuration is merged from environment variables (build-time) + and window.__CONFIG__ (runtime). +
+