-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What would a server config look like for nginx or apache rules to serve images dynamically? #10
Comments
Hi @landwire. Thanks for your question, can I ask what the reason would be to serve them dynamically is? By using the Regardless, below is an example for serving Configure nginx
Test
|
Hi @ainsleyclark, |
If anyone was successful with Apache it would be great, if you could share your code here. I have not had the time yet to pursue this further. |
@sascha-bleech do you have apache rules? |
No.Von unterwegs geschicktOn 3. Dec 2022, at 19:39, myedgy ***@***.***> wrote:
@sascha-bleech do you have apache rules?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
As Squidge has a helper picture command, I will close this. I think in the future this can be done in PHP. Detect if the browser accepts WebP, and serve the webp file, if not, serve the original. |
Could yo provide us with an example config for nginx and apache?
Thanks!
The text was updated successfully, but these errors were encountered: