diff options
Diffstat (limited to 'cvp/docker/nginx')
-rw-r--r-- | cvp/docker/nginx/sites-enabled/default | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cvp/docker/nginx/sites-enabled/default b/cvp/docker/nginx/sites-enabled/default index 5e152dd8..b6b6a7ed 100644 --- a/cvp/docker/nginx/sites-enabled/default +++ b/cvp/docker/nginx/sites-enabled/default @@ -57,6 +57,14 @@ server { autoindex_localtime on; } + location ~* /logs/api { + root /home/testapi; + expires 1d; + autoindex on; + autoindex_exact_size on; + autoindex_localtime on; + } + location /api/v1/cvp { proxy_pass http://cvpapi/api/v1/cvp; proxy_set_header X-Real-IP $remote_addr; |