diff options
author | terminaldweller <thabogre@gmail.com> | 2022-02-21 15:22:59 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-02-21 15:22:59 +0000 |
commit | 26d4cd29fe3e7cfc59c7964ddd054e83ce4d95dd (patch) | |
tree | 8669bd7744e81f9575264dc8db0055e6641e1618 /terminaldweller.com/cargo | |
parent | updated haproxy for cargo (diff) | |
download | scripts-26d4cd29fe3e7cfc59c7964ddd054e83ce4d95dd.tar.gz scripts-26d4cd29fe3e7cfc59c7964ddd054e83ce4d95dd.zip |
updates
Diffstat (limited to 'terminaldweller.com/cargo')
-rw-r--r-- | terminaldweller.com/cargo/docker-compose.yaml | 2 | ||||
-rw-r--r-- | terminaldweller.com/cargo/nginx.conf | 2 |
2 files changed, 3 insertions, 1 deletions
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; |