aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/cargo
diff options
context:
space:
mode:
Diffstat (limited to 'terminaldweller.com/cargo')
-rw-r--r--terminaldweller.com/cargo/docker-compose.yaml2
-rw-r--r--terminaldweller.com/cargo/nginx.conf2
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;