소스 검색

add mail archive

Pi 8 달 전
부모
커밋
033bb41b4e
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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";
     }