vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   VB3 on ngix (https://vborg.vbsupport.ru/showthread.php?t=318334)

jamesbondhf 04-20-2015 05:52 PM

VB3 on ngix
 
Is it possible? I have seen 0 information on it when it comes to vb3 and ngix.

Dave 04-21-2015 08:04 AM

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.

jamesbondhf 04-21-2015 08:39 AM

Quote:

Originally Posted by Dave (Post 2543713)
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 =/

Dave 04-21-2015 08:57 AM

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.

Zachery 04-21-2015 09:55 AM

vBulletin 3 has no rewrite rules by default, so why do you think you need htaccess support?

jamesbondhf 04-22-2015 08:04 PM

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

Dave 04-23-2015 09:54 AM

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.

jamesbondhf 04-23-2015 10:31 AM

Quote:

Originally Posted by Dave (Post 2543947)
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.

Dave 04-24-2015 07:23 AM

Quote:

Originally Posted by jamesbondhf (Post 2543951)
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.


All times are GMT. The time now is 03:09 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.02400 seconds
  • Memory Usage 1,727KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete