Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-20-2015, 05:52 PM
jamesbondhf jamesbondhf is offline
 
Join Date: Nov 2013
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default VB3 on ngix

Is it possible? I have seen 0 information on it when it comes to vb3 and ngix.
Reply With Quote
  #2  
Old 04-21-2015, 08:04 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you mean nginx, the webserver? nginx will work with pretty much anything.
The only problem might be converting any .htaccess rewrite rules to nginx's format.
Reply With Quote
  #3  
Old 04-21-2015, 08:39 AM
jamesbondhf jamesbondhf is offline
 
Join Date: Nov 2013
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
Do you mean nginx, the webserver? nginx will work with pretty much anything.
The only problem might be converting any .htaccess rewrite rules to nginx's format.
Yup nginx, sorry. But VB3 doesnt have a .htaccess =/
Reply With Quote
  #4  
Old 04-21-2015, 08:57 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you don't have a .htaccess file then that's perfectly fine, that means you don't have to copy over any rewrite rules which makes it a lot easier for you.
Reply With Quote
  #5  
Old 04-21-2015, 09:55 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vBulletin 3 has no rewrite rules by default, so why do you think you need htaccess support?
Reply With Quote
  #6  
Old 04-22-2015, 08:04 PM
jamesbondhf jamesbondhf is offline
 
Join Date: Nov 2013
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is my current config that works 95%
Code:
server {
listen 80;
server_name DOMAIN;
#return         301 https://$server_name$request_uri;

open_file_cache max=100000 inactive=40s;
open_file_cache_valid 60s;
open_file_cache_min_uses 2;
open_file_cache_errors on;

# Main location
location / {
proxy_pass http://IP;
proxy_redirect off;

proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}}
I issue is that I cannot post threads. When you try and submit a thread it times out and just takes you to the cloudflare error page saying the host is down 502 error. Ideas?

My current setup CLOUDFLARE -> NGINX -> Apache
Reply With Quote
  #7  
Old 04-23-2015, 09:54 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's the reason behind making nginx a proxy server in this case?
Anyway it seems to me that the IP/port where you're forwarding the requests to is not valid or not reachable.
Reply With Quote
  #8  
Old 04-23-2015, 10:31 AM
jamesbondhf jamesbondhf is offline
 
Join Date: Nov 2013
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
What's the reason behind making nginx a proxy server in this case?
Anyway it seems to me that the IP/port where you're forwarding the requests to is not valid or not reachable.
Traffic filtering.
How can it not be valid for posting threads but valid for everything else?

--------------- Added [DATE]1429820747[/DATE] at [TIME]1429820747[/TIME] ---------------

Also I just found out I can make small threads but not long threads without the timeout.
Reply With Quote
  #9  
Old 04-24-2015, 07:23 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jamesbondhf View Post
Traffic filtering.
How can it not be valid for posting threads but valid for everything else?

--------------- Added [DATE]1429820747[/DATE] at [TIME]1429820747[/TIME] ---------------

Also I just found out I can make small threads but not long threads without the timeout.
You mean threads with a lot of content? Seems to be that you have to increase the max_post_size or a value similar to that.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:29 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.03981 seconds
  • Memory Usage 2,230KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete