The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Nginx Fix
Vbulletin5 is great... but if you running nginx i seen a few people having issues with it... well i got it running with rules below
Have fun Code:
location @php { try_files $uri =404; include /etc/nginx/fastcgi_params; fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_intercept_errors on; } rewrite ^/css.php$ /core/css.php last; rewrite ^/install/ /core/install/ last; if ($uri !~ ".(gif|jpg|jpeg|png|css)$"){ set $rule_2 1$rule_2; } if (!-f $request_filename){ set $rule_2 2$rule_2; } if (!-d $request_filename){ set $rule_2 3$rule_2; } if ($rule_2 = "321"){ rewrite ^/(.*)$ /index.php?routestring=$1 last; } rewrite ^/(admincp/)$ /index.php?routestring=$1 last; |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|