@@ -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;
@@ -1,7 +1,7 @@
server{
-listen 9999;
-location ~/group1/M00 {
-root /opt/fastdfs_storage_data/data;
-ngx_fastdfs_module;
-}
+ listen 9999;
+ location ~/group1/M00 {
+ ngx_fastdfs_module;
+ }
}
@@ -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;
@@ -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.