Browse Source

redis密码配置

fuyu 5 years ago
parent
commit
1f98ba671f
4 changed files with 12 additions and 11 deletions
  1. 1 1
      conf.d/dcm.conf
  2. 5 5
      conf.d/fdfs.conf
  3. 5 4
      conf.d/fdfs_tracker.conf
  4. 1 1
      redis.conf

+ 1 - 1
conf.d/dcm.conf

@@ -2,7 +2,7 @@ server {
 	listen       9999;
   access_log  /zskk_system/logs/nginx/dcm/access.log;
   error_log   /zskk_system/logs/nginx/dcm/error.log;
-	root html;
+	root /opt/fastdfs_storage_data/data;
   index index.html index.htm;
   #ssl_certificate     /data/sslkey/dcm/dcm.pem;
   #ssl_certificate_key /data/sslkey/dcm/dcm.key;

+ 5 - 5
conf.d/fdfs.conf

@@ -1,7 +1,7 @@
 server{
-listen 9999;
-location ~/group1/M00 { 
-root /opt/fastdfs_storage_data/data; 
-ngx_fastdfs_module; 
-}
+  listen 9999;
+  location ~/group1/M00 {
+    root /opt/fastdfs_storage_data/data;
+    ngx_fastdfs_module;
+  }
 }

+ 5 - 4
conf.d/fdfs_tracker.conf

@@ -1,6 +1,7 @@
-upstream fdfs_group1 { 
-server 127.0.0.1:9999; 
+upstream fdfs_group1 {
+  server 127.0.0.1:9999;
 }
-location /group1/M00 { 
-proxy_pass http://fdfs_group1; 
+
+location /group1/M00 {
+  proxy_pass http://fdfs_group1;
 }

+ 1 - 1
redis.conf

@@ -497,7 +497,7 @@ slave-priority 100
 # 150k passwords per second against a good box. This means that you should
 # use a very strong password otherwise it will be very easy to break.
 #
-# requirepass foobared
+requirepass Zskk_2019
 
 # Command renaming.
 #