Welcome! Log In Create A New Profile

Advanced

Re: 500 nginx bad gateway when Update vbulletin template

September 09, 2012 05:49PM
and here is the nginx configurations for the site


server {
error_log /var/log/nginx/vhost-error_log warn;
listen 192.168.1.1:80;
server_name site.com www.site.com;
access_log /usr/local/apache/domlogs/site.com-bytes_log bytes_log;
access_log /usr/local/apache/domlogs/site.com combined;
root /home/deltacom/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 7d;
try_files $uri @backend;
}
error_page 405 = @backend;
add_header X-Cache "HIT from Backend";
proxy_pass http://192.168.1.1:8081;
include proxy.inc;
}
location @backend {
internal;
proxy_pass http://192.168.1.1:8081;
include proxy.inc;
}
location ~ .*\.(php|jsp|cgi|pl|py)?$ {
proxy_pass http://192.168.1.1:8081;
include proxy.inc;
}
location ~ /\.ht {
deny all;
}
}
SubjectAuthorPosted

500 nginx bad gateway when Update vbulletin template

iLinux85September 09, 2012 05:35PM

Re: 500 nginx bad gateway when Update vbulletin template

iLinux85September 09, 2012 05:49PM

Re: 500 nginx bad gateway when Update vbulletin template

iLinux85September 09, 2012 06:02PM

Re: 500 nginx bad gateway when Update vbulletin template

VBartSeptember 10, 2012 02:42PM

Re: 500 nginx bad gateway when Update vbulletin template

iLinux85September 10, 2012 03:14PM

Re: 500 nginx bad gateway when Update vbulletin template

hexaSeptember 10, 2012 03:20PM

Re: 500 nginx bad gateway when Update vbulletin template

VBartSeptember 10, 2012 03:26PM

Re: 500 nginx bad gateway when Update vbulletin template

iLinux85September 11, 2012 11:32AM

Re: 500 nginx bad gateway when Update vbulletin template

iLinux85September 12, 2012 11:48PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 114
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready