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
When using Laravel Livewire, there's a route that serves temporary URL's for images. The current nginx configuration tries to serve this as a static asset, due to the NGINX_STATIC_EXT_REGEX variable.
When using Laravel Livewire, there's a route that serves temporary URL's for images. The current nginx configuration tries to serve this as a static asset, due to the
NGINX_STATIC_EXT_REGEX
variable.An example URL would look something like:
`http://example.docker.localhost/livewire/preview-file/r749ij99RQtR3drbNwm4Rur1Yb8qcS-metadGVzdC5qcGc=-.jpg?expires=1731020399&signature=5629fe3d3ab274a1db61976b12b24c53a28ba3084979d38ce5619cf2e95d2465
The current workaround is to simply remove
jpe?g
from theNGINX_STATIC_EXT_REGEX
variable. Another work around is to create your own preset.Would it be possible to add the follow location directive to the laravel preset:
Adding the above works, but I'm not sure it's the most efficient or correct way of handling the use case.
The text was updated successfully, but these errors were encountered: