vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Board Optimization - vB Accelerator (https://vborg.vbsupport.ru/showthread.php?t=244391)

kawe 06-13-2010 12:36 AM

This is .htaccess on Nginx ?

PHP Code:

# Modified gzip settings: added CSS/JS,
# but completely disabled for broken browsers.
gzip_types       text/plain text/css application/x-javascript text/xml text/javascript;
gzip_disable     "MSIE [1-6].(?!.*SV1)";


# globally disable external access to attachments, but enable for X-Accel-Redirect
location /uploads {
    
internal;
}
# enable thumbnails direct access, but nothing else!
location ~* /uploads/(.*)\.thumb$ {
    
expires 24h;
}


# Expires for static files.
location /images/ {
    
expires 24h;
}
location /clientscript/ {
    
expires 24h;
}
location /custom # All at once: profile pics, avatars, group images
    
expires 24h;


And about " path to attachments "
is full path like : /home/www/html/sites.com/attachment
or
just /attachment/

Vitaly 06-13-2010 12:46 AM

Quote:

Originally Posted by kawe (Post 2052715)
This is .htaccess on Nginx ?

Nginx doesn't support .htaccess. That's pаrt of config file. Please, read nginx documentation for details.

kawe 06-13-2010 12:58 AM

Quote:

Originally Posted by Vitaly (Post 2052720)
Nginx doesn't support .htaccess. That's pаrt of config file. Please, read nginx documentation for details.

yeah i add this code to /etc/nginx/sites-enable/mydomain.com :D
under my vBseo config :) its right ?

Vitaly 06-13-2010 01:01 AM

Quote:

Originally Posted by TeknoSounds (Post 2052600)
Will this work along side vbOptimize and vB4: Supercharged? Are there conflicts? Duplicated features?

vbOptimize do different things. It can make sence, if you have DB on separate server. Or if you setup many dirty-written mods :) . No conflicts. If you have local DB, then built-in query cache do most things for you.

Supercharged have some interesting ideas, but not balanced, IMHO. The same result can be acheived with much less efforts & server load :)

vb Accelerator - if you dont use attachments, skip it :) . But set "not expire" headers for static content. It really worth to do.

Vitaly 06-13-2010 01:06 AM

Quote:

Originally Posted by kawe (Post 2052723)
yeah i add this code to /etc/nginx/sites-enable/mydomain.com :D
under my vBseo config :) its right ?

Gzip options can be in other place. Look there they are in your config, compare difference and fix.

Other rewrites should be BEFORE vbseo.

Fenriz 06-14-2010 06:24 PM

Can I use Mod Version: 0.8 with vbulletin 3.8.5?

Vitaly 06-15-2010 05:39 AM

NO. You should use version from this topic: https://vborg.vbsupport.ru/showthread.php?t=207566

tupique 06-22-2010 09:30 AM

Installed, but downloaded from other forum by accident. However, I don't see that the URL is changing. I still see attachment.php as part of the URL. Am I missing something here?

Vitaly 06-22-2010 10:54 AM

You should check thumbnails path, but not full-size attachments links.

If you have problems, please provide more detailed information. For example - incorrect thumbnails URLs

tupique 06-22-2010 11:45 AM

ahh I see.. so this mod is used to change the thumbnails URL only, not the full image? I did simple checking (disabling and enabling this mod), and I saw what you meant. Thanks a lot!

Another question, the URL in my forum is like this:

http://<domain hidden>/img/1/1.thumb?d=1276962745

Could you remove the query string parameter? It ruins the purpose of image caching, since the parameter value always changing while the image stays the same.


All times are GMT. The time now is 05:43 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01085 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete