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;
}
}
Subject Author Posted

500 nginx bad gateway when Update vbulletin template

iLinux85 September 09, 2012 05:35PM

Re: 500 nginx bad gateway when Update vbulletin template

iLinux85 September 09, 2012 05:49PM

Re: 500 nginx bad gateway when Update vbulletin template

iLinux85 September 09, 2012 06:02PM

Re: 500 nginx bad gateway when Update vbulletin template

VBart September 10, 2012 02:42PM

Re: 500 nginx bad gateway when Update vbulletin template

iLinux85 September 10, 2012 03:14PM

Re: 500 nginx bad gateway when Update vbulletin template

hexa September 10, 2012 03:20PM

Re: 500 nginx bad gateway when Update vbulletin template

VBart September 10, 2012 03:26PM

Re: 500 nginx bad gateway when Update vbulletin template

iLinux85 September 11, 2012 11:32AM

Re: 500 nginx bad gateway when Update vbulletin template

iLinux85 September 12, 2012 11:48PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 89
Record Number of Users: 6 on August 08, 2016
Record Number of Guests: 386 on August 02, 2016
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready