![]() |
Quote:
|
I think, this page contains whe most actual resources, if you have troubles with nginx configuration:
http://nginx.net/ There are some links, where you can ask any questions about nginx in english. |
Everything seems to be working on my site now, it's just when I check the headers when I go to vist an image I get this
Code:
http://www.xxxxxxxx.com/forum/uploadedimages/1/38251.thumb?d=1236711928 Notice the Code:
?d=1236711928 |
Quote:
?d=XXX - timestamp, used to refresh browser cache, if you update image. It's generated by vB and left intact for compatibility reasons. |
ok great then, looks like I got this working...
I will try and help anyone else if I can, so if you have a question ask.. |
Oh, by the way, vitaly I was able to still use vbseo on attachments as well =)
|
You mean, "attachments rewrite" vbseo options? I din't checked it at all, because don't use it (that option is off in my vbseo config).
Anyway, check twice, that your nginx config has separate "location" for thumbnails, and that this location stays before vbseo location. For example, you can temporary add deny rule for thumbnails location, to check that it's really catched. vbseo php code should NOT be called for direct thumbnail links. Or you'll get no benefits from this mod. Mod idea is: - minimise php calls (no calls for thumbnails at all) - minimise useless data transfer (can make sense for big attachments) |
It strange, I have rewrites enabled for attachments, yet everything works. My headers are showing that they are coming through as direct links like
Code:
http://www.xxxxxxxx.com/forum/uploadedimages/1/38251.thumb?d=1236711928 |
vitaly,
can you think of a good way to tell if this is working? I disabled vbseo attachment rewrites, and it still appears to be working, thumbnails are showing up, but is there a way to test if it's actually doing what it's superposed to? |
If you turned on "nginx acceleration option", then it's ok.
If you wish to check thumbnails - add "deny all" to thumbnails location from nginx config (see sample from first post). If thumbnails disappears - then all is ok, roll back your nginx config. If thumbnails still shown - then they goes via vbseo rewrite rules and you have to fix nginx config. See my previous recommendation. The last way to check - turn mod off when server is loaded and check load difference. ~20% in my case. Of cause, if you have few attachments, there will be no difference at all. VBSEO itself doesn't affect bebefits of this mod, if you've managed to get direct links to thumbnails and proper nginx config. But I've not checked combination with "attachments rewrite" option, so, can't comment if it conflicts with this mod or not. |
All times are GMT. The time now is 03:06 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|