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
Since there is no try_files $uri @drupal, Stage File Proxy doesn't work for these URLs. This results in the non-production sites in the GovCMS SaaS returning OpenResty 404 pages for these URLs, making it difficult to test non-image files in staging.
Is this by design, or is there another mechanism to support Stage File Proxy? Would there be any reason not to use the NGINX_DEFAULT_EXPIRES variable instead of this helper?
FYI In my local dev environment I've worked around the issue by adding:
The
203-expires.conf
nginx helper takes over URLs matching non-image files to set an expiration header:Since there is no
try_files $uri @drupal
, Stage File Proxy doesn't work for these URLs. This results in the non-production sites in the GovCMS SaaS returning OpenResty 404 pages for these URLs, making it difficult to test non-image files in staging.Is this by design, or is there another mechanism to support Stage File Proxy? Would there be any reason not to use the
NGINX_DEFAULT_EXPIRES
variable instead of this helper?FYI In my local dev environment I've worked around the issue by adding:
/etc/nginx/conf.d/drupal/location_expires_append_drupal.conf:
The text was updated successfully, but these errors were encountered: