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