This commit is contained in:
VirtuBox
2019-03-11 05:05:57 +01:00
parent a0294576b7
commit 38f00bd9de

View File

@@ -793,10 +793,10 @@ class WOStackController(CementBaseController):
with open("/etc/nginx/conf.d/redis.conf", "a") as redis_file: with open("/etc/nginx/conf.d/redis.conf", "a") as redis_file:
redis_file.write("# Log format Settings\n" redis_file.write("# Log format Settings\n"
"log_format rt_cache_redis " "log_format rt_cache_redis "
""'$remote_addr " "'$remote_addr "
"$upstream_response_time " "$upstream_response_time "
"$srcache_fetch_status [$time_local]" "$srcache_fetch_status [$time_local]"
" '\n" '$http_host" " '\n '$http_host"
" \"$request\" " " \"$request\" "
"$status $body_bytes_sent '\n" "$status $body_bytes_sent '\n"
"'\"$http_referer\" " "'\"$http_referer\" "