PDA

View Full Version : VB3 on ngix


jamesbondhf
04-20-2015, 05:52 PM
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
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%
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
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 1429820747 at 1429820747 ---------------

Also I just found out I can make small threads but not long threads without the timeout.

Dave
04-24-2015, 07:23 AM
Traffic filtering.
How can it not be valid for posting threads but valid for everything else?

--------------- Added 1429820747 at 1429820747 ---------------

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.