Răsfoiți Sursa

add mail archive

Pi 8 luni în urmă
părinte
comite
033bb41b4e
2 a modificat fișierele cu 4 adăugiri și 0 ștergeri
  1. 1 0
      docker-compose.yml
  2. 3 0
      nginx.conf

+ 1 - 0
docker-compose.yml

@@ -8,6 +8,7 @@ services:
     restart: always
     volumes:
       - /home/pi/www/feed:/usr/share/nginx/html/feed
+      - /home/cropswap-archive/www:/usr/share/nginx/html/mail-archive
       - ./media:/usr/share/nginx/html/media
       - ./.well-known:/usr/share/nginx/html/.well-known
     networks:

+ 3 - 0
nginx.conf

@@ -8,6 +8,9 @@ http {
     location /feed/ {
       autoindex on;
     }
+    location /mail-archive/ {
+      autoindex on;
+    }
     location /css/ {
         types { } default_type "text/css; charset=utf-8";
     }