https://github.com/scnu-socoding/mirror-site
SCNU SoCoding 镜像站 - 站点前端
https://github.com/scnu-socoding/mirror-site
nginx nginx-fancyindex
Last synced: 2 months ago
JSON representation
SCNU SoCoding 镜像站 - 站点前端
- Host: GitHub
- URL: https://github.com/scnu-socoding/mirror-site
- Owner: scnu-socoding
- License: wtfpl
- Created: 2021-03-25T08:25:57.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-06T08:27:35.000Z (almost 5 years ago)
- Last Synced: 2025-10-06T17:59:43.388Z (9 months ago)
- Topics: nginx, nginx-fancyindex
- Language: JavaScript
- Homepage:
- Size: 2.98 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## SCNU SoCoding 软件源镜像服务
> ~~稳定、快速、现代~~的镜像服务,托管于与华南教育网骨干节点华南理工大学相距甚远的华南师范大学南海校区。
本仓库用于存放镜像站前端视图文件(NGINX Fancyindex 主题)。
如果需要部署,首先安装 NPM,然后 `npm install` 安装需要的依赖。
NGINX 配置示例如下:
```
server {
listen 9000;
listen [::]:9000;
access_log off;
server_name ossmirror;
charset utf-8,gbk;
location / {
alias /mnt/socoding/files/;
fancyindex on;
fancyindex_localtime on;
fancyindex_exact_size off;
fancyindex_header "/fancyindex/header.html";
fancyindex_footer "/fancyindex/footer.html";
fancyindex_ignore "favicon.ico";
fancyindex_ignore "fancyindex";
fancyindex_name_length 100;
}
}
```