Welcome! Log In Create A New Profile

Advanced

Error :404 not found when I configure nginx and memcached

July 09, 2010 11:20PM
When I install the nginx and memcached, there is an error: 404 not found.
If commenting: memcached_pass IP:11211, the error is gone.
The configure file of my nginx is as follows:

worker_processes 1;
4 daemon off;
5 master_process off;
6 #error_log logs/error.log;
7 #error_log logs/error.log notice;
8 #error_log logs/error.log info;
9
10 #pid logs/nginx.pid;
11
12
13 events {
14 worker_connections 1024;
15 }
16
17
18 http {
19 include mime.types
20 default_type application/octet-stream;


27
28 sendfile on;
29 #tcp_nopush on;
30
31 #keepalive_timeout 0;
32 keepalive_timeout 65;
33
34 #gzip on;
35
36 server {
37 listen 38732;
38 server_name server ip;
39
43
44
45 location / {
46 set $memcached_key $uri;
47 memcached_pass server ip:11211;
48
49
50 root html;
51 index index.html index.htm;
52 }
53
58 error_page 500 502 503 504 /50x.html;
59 location = /50x.html {
60 root html;
61 }
}
}
Subject Author Posted

Error :404 not found when I configure nginx and memcached

lvzhenyu July 09, 2010 11:20PM

Re: Error :404 not found when I configure nginx and memcached

lvzhenyu July 12, 2010 05:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 104
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready