-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Also cache WOFF, SVG and GIF #769
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
Conversation
|
👍 |
|
@josh4trunks Is it fine to update this NGINX config line: |
|
looks good to me. |
|
👍 |
There is only one endpoint: preview.png that needs to be executed by PHP. Or am I wrong? cc @rullzer |
|
Actually, are we doing this? If so I don't understand how we know to pass preview.png to PHP based on the documented config. |
These are the routes: Lines 112 to 115 in 8c7d7d7
@LukasReschke Where are the rules for excluding this in the apache config? |
|
ahh, yes this is handled correctly with the current nginx config. I was correct in my earlier statement, as long as the static location block is last. the nginx config will only match locations to actual files so since preview.png doesn't exist the request is given to index.php |
See nextcloud/server#769 for the corresponding Apache adjustment
…and-gif Also cache WOFF, SVG and GIF
No description provided.