diff options
author | Avinash S <avinash.s@huawei.com> | 2018-03-19 13:23:31 +0000 |
---|---|---|
committer | Avinash S <avinash.s@huawei.com> | 2018-03-19 13:23:31 +0000 |
commit | 99703c53463296a31ef869220f6a6edb91737469 (patch) | |
tree | 6d0bf826113764c5c7366dab48add752fc9932db | |
parent | e7e3474aeae46aaca7c8d17d6c6c208638700c09 (diff) |
Switch off access logging
save disc space
Issue-ID: VNFSDK-166
Change-Id: I7d0cf06777a4b7ae77dad8290840a5af17cc4e2e
Signed-off-by: Avinash S <avinash.s@huawei.com>
-rw-r--r-- | vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/nginx.conf | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/nginx.conf b/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/nginx.conf index e55f6a8a..56cc65ff 100644 --- a/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/nginx.conf +++ b/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/nginx.conf @@ -17,8 +17,11 @@ http { tcp_nodelay on; keepalive_timeout 65; types_hash_max_size 2048; - access_log /var/log/nginx/access.log; - error_log /var/log/nginx/error.log; + + #Comment or disable the access_log once tested to avoid runtime logs +# access_log /var/log/nginx/access.log format gzip; + access_log off; + error_log /var/log/nginx/error.log format gzip; server { listen *:8703 ssl; |