From 26d4cd29fe3e7cfc59c7964ddd054e83ce4d95dd Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Mon, 21 Feb 2022 18:52:59 +0330 Subject: updates --- terminaldweller.com/cargo/docker-compose.yaml | 2 ++ terminaldweller.com/cargo/nginx.conf | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'terminaldweller.com/cargo') diff --git a/terminaldweller.com/cargo/docker-compose.yaml b/terminaldweller.com/cargo/docker-compose.yaml index 50eafab..ef2e1b8 100644 --- a/terminaldweller.com/cargo/docker-compose.yaml +++ b/terminaldweller.com/cargo/docker-compose.yaml @@ -12,5 +12,7 @@ services: volumes: - ./nginx.conf:/etc/nginx/nginx.conf:ro - /home/ubuntu/cargo:/cargo + cap_drop: + - ALL networks: cargonet: diff --git a/terminaldweller.com/cargo/nginx.conf b/terminaldweller.com/cargo/nginx.conf index d65508d..118825c 100644 --- a/terminaldweller.com/cargo/nginx.conf +++ b/terminaldweller.com/cargo/nginx.conf @@ -11,7 +11,7 @@ http { ssl_ciphers HIGH:!aNULL:!MD5; sendfile on; tcp_nopush on; - + location / { root /cargo; autoindex on; -- cgit v1.2.3