Fancyindex for Nginx

本文最后更新于:2024年8月9日 晚上

fancyindex

Nginx with Fancyindex : https://github.com/vonsy/fancyindex

http://localhost/private, Login required login

http://localhost/private after login

http://localhsot/, No user, password required no user,password required

Docker Run

1
2
3
4
5
6
7
8
9
10
11
12
13
14
docker run -d \
--name fancyindex \
-e PUID=3000 \
-e PGID=3000 \
-e TZ=Asia/Shanghai \
-e USER=Neo \
-e PASSWORD=RedPill$ \
-p 80:80 \
-p 443:443 \
-v /zion/share/nginx/nginx.conf:/etc/nginx/nginx.conf \
-v /zion/share/private:/private \
-v /zion/share/public:/public \
--restart unless-stopped \
vonsy/fancyindex:1.23.3

Docker Compose File

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
version: "2.1"
services:
transmission:
image: vonsy/fancyindex:1.23.3
container_name: fancyindex
environment:
- PUID=3000
- PGID=3000
- TZ=Asia/Shanghai
- USER=Neo
- PASSWORD=RedPill$
volumes:
- /zion/share/nginx/nginx.conf:/etc/nginx/nginx.conf
- /zion/share/private:/private
- /zion/share/public:/public
ports:
- 80:80
- 443:443
restart: unless-stopped

Docker multi-stage builds

1
2
docker build --target builder -t fancyindexbuilder:1.23.3 .
docker build -t fancyindex:1.23.3 .

Customized settings

If you need to customize the settings, use docker cp to copy out the nginx.conf configuration file, modify the settings and mount it.

1
docker cp fancyindex:/etc/nginx/nginx.conf ~/Desktop/

Fancyindex for Nginx
https://git.msft.vip/2024/05/31-Fancyindex-for-Nginx/
作者
Jas0n0ss
发布于
2024年6月1日
更新于
2024年8月9日
许可协议