I'm using "NGINXCP" with Apache to boost performance (works incredible) but it broke my progress bar on a file upload site. How can I change the configuration or disable nginx completely for this particularly website, so it passes the CGI request or whatever to Apache so the progress bar works?
Here is the current vhost config for this domain, censoring out the domain name and IP:
server {
error_log /var/log/nginx/vhost-error_log warn;
listen cen.sor.ed.ip:80;
server_name CENSORED.com www.CENSORED.com cen.sor.ed.ip;
access_log /usr/local/apache/domlogs/CENSORED.com-bytes_log bytes_log;
access_log /usr/local/apache/domlogs/CENSORED.com combined;
root /home/censored/public_html;
#location / {
location ~*.*\.(3gp|gif|jpg|jpeg|png|ico|wmv|avi|asf|asx|mpg|mpeg|mp4|pls|mp3|mid|wav|swf|flv|html|htm|txt|js|css|exe|zip|tar|rar|gz|tgz|bz2|uha|7z|doc|docx|xls|xlsx|pdf|iso)$ {
expires 1M;
try_files $uri @backend;
}
location / {
error_page 405 = @backend;
add_header X-Cache "HIT from Backend";
proxy_pass http://cen.sor.ed.ip:8081;
include proxy.inc;
include microcache.inc;
}
location @backend {
internal;
proxy_pass http://cen.sor.ed.ip:8081;
include proxy.inc;
include microcache.inc;
}
location ~ .*\.(php|jsp|cgi|pl|py)?$ {
proxy_pass http://cen.sor.ed.ip:8081;
include proxy.inc;
include microcache.inc;
}
location ~ /\.ht {
deny all;
}
}