Custom Query (2297 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (10 - 12 of 2297)

1 2 3 4 5 6 7 8 9 10 11 12 13 14
Ticket Resolution Summary Owner Reporter
#156 worksforme Virtualhost randomly displaying incorrect output somebody Ben Maynard
Description

I have a somewhat complex environment:

GTM frontend Redirects to LTM redirects to load balanced varnish with 6 nginx backends, serving about 80 virtual hosts using uwsgi to serve django sites.

The problem I have is randomly a site will display the page of a random virtualhost (there doesn't appear to be any consistency in which site it may display), additionally on occasion it will simply display a random image from a page rather than the full page.

My nginx.conf file is:

user nginx; worker_processes 2; worker_rlimit_nofile 32768;

error_log /var/log/nginx/error.log; pid /var/run/nginx.pid;

events {

worker_connections 4096;

use epoll;

}

http {

include /etc/nginx/mime.types; default_type application/octet-stream; sendfile on;

expires -1;

server_tokens off; tcp_nopush on; tcp_nodelay on; client_max_body_size 50m; server_names_hash_bucket_size 128; server_names_hash_max_size 1024; keepalive_timeout 65; types_hash_max_size 2048; server_name_in_redirect off

gzip on; gzip_types application/x-javascript application/javascript text/xml text/css text/plain; gzip_vary on; gzip_proxied any; gzip_disable "MSIE [1-6] \.";

log_format hostcombined '$server_name $remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"'; access_log /var/log/nginx/access.log hostcombined; error_log /var/log/nginx/error.log info;

upstream uwsgi_upstream {

server unix:/var/run/uwsgi/uwsgi.sock;

}

# Load config files from the /etc/nginx/conf.d directory include /etc/nginx/conf.d/*.conf; include /etc/nginx/sites-enabled/*.conf;

}

My virtual hosts are stored in a domain per file and all are identical other than the paths, and server_names:

server {

listen 80; server_name www2.example.com stage2.example.com origin-www2.example.com beta2.example.com; access_log /var/log/nginx/access_example.com_log main; root /srv/www/cms/clusters/mid_south/sites/example_com/site-media

location /{ uwsgi_pass uwsgi_upstream; include uwsgi_params; uwsgi_param UWSGI_SCRIPT deploy.mod_wsgi:WSGIHandler(); uwsgi_param UWSGI_CHDIR /srv/www/cms/clusters/mid_south/sites/example_com; uwsgi_param UWSGI_SETENV DJANGO_SETTING_MODULE=settings;

}

location /site-media {

alias /srv/www/cms/clusters/mid_south/sites/example_com/site-media; expires 2h;

}

}

#179 worksforme logrotate improvements sb unlim.myid.net
Description

currently logrotate job (/etc/logrotate.d/nginx) creates archives with 644 and root:root permissions. Better to create them as 640 and nginx:nginx. At least 640 should be used.

# ls -l /var/log/nginx/ total 205580 drwxr-xr-x 2 root root 4096 Jun 25 04:42 ./ drwxr-xr-x 9 root root 4096 Jun 25 04:42 ../ -rw-r----- 1 nginx nginx 42206375 Jun 25 13:56 access.log -rw-r----- 1 nginx nginx 80435629 Jun 25 04:42 access.log.1 -rw-r--r-- 1 root root 87237684 Jun 25 04:42 access.log.2.gz -rw-r----- 1 nginx nginx 1162 Jun 25 13:41 error.log -rw-r----- 1 nginx nginx 884 Jun 24 14:39 error.log.1 -rw-r--r-- 1 root root 38984 Jun 25 04:42 error.log.2.gz -rw-r--r-- 1 nginx root 339808 Jun 25 13:54 vhost-error_log

Seems directive "create 0640 nginx nginx" should help.

Thank you!

#202 worksforme a nginx moudle bug somebody Qi Luo
Description

if you install HttpRealipModule with nginx, when you use "proxy_pass" and download a big file, (Whether you use HttpRealipModule) it will take a lot of cpu,and nginx will not response

form nginx 0.8x to nginx1.2x have the same problem.

1 2 3 4 5 6 7 8 9 10 11 12 13 14
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.