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)

ImmortalForums 07-26-2010 11:54 PM

Quote:

Originally Posted by Vitaly (Post 2074850)
This mod doesn't affect fullsize attachments, if you turn off "nginx acceleration" option.

If problem caused by this option, then absolute disk path can be wrong, or some rare nginx limitation for X-Accel-Redirect (see docs).

I can not figure out for the life of me the issue. I know the path is correct or the attachments wouldn't load in the first place. I checked the nginx docs there isnt anything I can really configure http://wiki.nginx.org/NginxXSendfile. Eh I will live without the feature.

Vitaly 07-27-2010 02:08 AM

What's in nginx error logs, when option is on?

ImmortalForums 07-28-2010 12:41 AM

Ok here is your error

Code:

2010/07/27 21:33:18 [error] 565#0: *17 open() "/var/www/immortalguild/html/uploads/2/2/6/2/9319.attach" failed (2: No such file or directory), client: 68.194.193.123, server: immortal-guild.net, request: "GET /attachment.php?attachmentid=9334&d=1279589679 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "immortal-guild.net", referrer: "http://immortal-guild.net/threads/49537-Slippy"
My path to attachments is /uploads

CDN is at http://attachment.immortal-guild.net

The physical directory is /var/www/immortalguild/attachment/uploads
The physical web directory is /var/www/immortalguild/html

So it seems your mod isnt using the CDN URL with X-Accel-Redirect. Hopefully you can fix this. :-)

Vitaly 07-28-2010 07:06 AM

CDN is not used for X-Accel-Redirect, yes. It's for thumbnails only. It's better to keep attachments directory in forum root, and change nginx config for attachments domain (root path). Make mod work without CDN first, then play with domain aliases.

I'll check, what can be improved, but not right now.

delmarva 08-17-2010 07:48 AM

Thank you Vitaly!

Taurus1 12-05-2010 09:15 AM

Hi there. Will this work with LightSpeed?

Taurus1 12-06-2010 08:19 AM

Well, I installed it. Is there a clear way for me to check if it is working?

Thanks.

sivaganeshk 12-08-2010 04:57 AM

Hi, How to use Expire header functions ?

MmS1 12-10-2010 10:26 PM

hello i tried to install Nagns but i can't

i stuck here
/usr/local/nginx/sbin/nginx -t
[emerg]: invalid event type "rtsig" in /usr/local/nginx/conf/nginx.conf:11
configuration file /usr/local/nginx/conf/nginx.conf test failed
root@c134 [/usr]# /usr/local/nginx/sbin/nginx
[emerg]: invalid event type "rtsig" in /usr/local/nginx/conf/nginx.conf:11
Manual-Install-Nginx
http://www.vbulletin.com/forum/showt...lish-Espa%F1ol)

so can u help me

punchbowl 12-29-2010 12:43 PM

Do attachments have to be in a publicly available area for this to work e.g.

/srv/www/domain.com/public_html/attachments

or will it work at

/srv/www/domain.com/attachments

?


All times are GMT. The time now is 04:58 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
  • Page Generation 0.00991 seconds
  • Memory Usage 1,735KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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