You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| BEACH_NGINX_CUSTOM_METRICS_ENABLE | boolean | no | If support for a custom metrics endpoint should be enabled |
69
+
| BEACH_NGINX_CUSTOM_METRICS_SOURCE_PATH | string | /metrics | Path where metrics are located |
70
+
| BEACH_NGINX_CUSTOM_METRICS_TARGET_PORT | integer | 8082 | Port at which Nginx should listen to provide the metrics for scraping |
71
+
| BEACH_NGINX_MODE | string | Flow | Either "Flow" or "Static"; this variable is going to be renamed in the future |
72
+
| BEACH_ASSET_PROXY_ENDPOINT | string || Endpoint of a cloud storage frontend to use for proxying requests to Flow persistent resources. Requires BEACH_PERSISTENT_RESOURCES_BASE_PATH to be set. Example: "https://assets.flownative.com/example-bucket/"|
73
+
| BEACH_PERSISTENT_RESOURCES_BASE_PATH | string || Base path of URLs pointing to Flow persistent resources; example: "https://www.flownative.com/assets/"|
74
+
| BEACH_STATIC_RESOURCES_LIFETIME | string | 30d | Expiration time for static resources; examples: "3600s" or "7d" or "max" |
75
+
| FLOW_HTTP_TRUSTED_PROXIES | string | 10.0.0.0/8 | Nginx passes FLOW_HTTP_TRUSTED_PROXIES to the virtual host using the value of this variable |
76
+
77
+
## Asset Proxy
78
+
79
+
By default, the direct URL of an asset stored in the cloud storage is used as
80
+
part of the Flow or Neos frontend output. In order to make URLs more
81
+
user-friendly or hide the fact that assets are stored in a cloud storage,
82
+
Nginx can act as a reverse proxy and make assets available through a
83
+
sub-path of the website's main domain.
84
+
85
+
For example, if the website is reachable via "https://www.example.com", the
86
+
proxy can be configured to map the path "https://www.example.com/assets/" to
87
+
assets stored in a cloud storage bucket which is accessible at
88
+
"https://some.cloud.storage/some-bucket/".
89
+
90
+
The environment variables to set for the above example are as follows:
0 commit comments