Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
не держит сессию
- To: nginx-ru@xxxxxxxxx
- Subject: не держит сессию
- From: "horsement" <nginx-forum@xxxxxxxx>
- Date: Wed, 23 Apr 2014 05:13:55 -0400
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=selenium.jlkhosting.com; s=x; h=Date:Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=OW6pbMvulE8b1dm3LgRhtq63AkhxuP4OhLLwgfDtHYE=; b=sCjjoA5cttBcYUjFM0d3N9hUhETdhRbegmqux4SfRi7x3AI5T4vRUrZconFSmVj5MwOZF2fKCLKnChGlRyb1gX2FVeFtRR3SNMXkKW3IqbiPyDGtNX/0MOJ2uN60nkF3wuaiEnku3gU+NUigsXEKJakrZTrwu6lpGevEVBrY9OY=;
форум xenforo
nginx+apache
на апаче нормально все авторизует и держит сессию залогиненой , на nginxe
постоянно разлогинивает
вот конфиг
#user nobody;
worker_processes 2;
events {
worker_connections 101;
}
http {
include mime.types;
default_type application/octet-stream;
client_header_timeout 3m;
client_body_timeout 3m;
send_timeout 3m;
client_header_buffer_size 1k;
large_client_header_buffers 4 4k;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
#send_lowat 12000;
keepalive_timeout 900;
server_tokens off;
gzip on;
gzip_min_length 1100;
gzip_buffers 4 8k;
gzip_types text/plain text/xml application/xml application/x-javascript
text/javascript text/css text/json;
gzip_http_version 1.0;
gzip_comp_level 4;
#lingering_time 30;
#lingering_timeout 10;
#reset_timedout_connection on;
server {
listen 80;
server_name localhost;
location / {
proxy_pass http://localhost:8080/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
client_max_body_size 10m;
client_body_buffer_size 128k;
client_body_temp_path client_body_temp;
proxy_connect_timeout 120;
proxy_send_timeout 120;
proxy_read_timeout 180;
#proxy_send_lowat 12000;
proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
proxy_temp_path proxy_temp;
charset utf-8;
}
location ~*
\.(?:jpg|jpeg|gif|png|ico|gz|svg|svgz|mp4|ogg|ogv|webm|htc|ttf|ttc|otf|eot|woff|w3g|font.css)$
{
expires 30d;
access_log off;
add_header Cache-Control public;
root C:\APPServ\htdocs;
}
}
}
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,249465,249465#msg-249465
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|