https://github.com/zxce3/files
my files collections
https://github.com/zxce3/files
collection files game nginx nginx-file-index pdf
Last synced: about 2 months ago
JSON representation
my files collections
- Host: GitHub
- URL: https://github.com/zxce3/files
- Owner: Zxce3
- License: mit
- Created: 2022-09-21T13:50:32.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-08T17:13:08.000Z (about 2 years ago)
- Last Synced: 2025-12-30T10:00:46.088Z (6 months ago)
- Topics: collection, files, game, nginx, nginx-file-index, pdf
- Language: JavaScript
- Homepage: https://files.zxce3.net
- Size: 1.78 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hello There
This is where my file collection is.
## Nginx Config
this config for directory listing on nginx
```nginx
server {
listen 80;
listen [::]:80;
listen 443 ssl;
listen [::]:443 ssl;
server_name files.example.net;
root /home/memet/files;
ssl_certificate /etc/letsencrypt/live/example.net/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/example.net/privkey.pem;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
location = /health {
types {}
default_type text/plain;
return 200 "OK";
}
location /json{
autoindex on;
autoindex_format jsonp;
default_type application/json;
expires -1;
alias /home/memet/files/;
autoindex_localtime on;
}
location / {
alias /home/memet/files/;
expires -1;
autoindex on;
autoindex_exact_size on;
autoindex_format html;
default_type text/plain;
add_before_body /.header.html;
add_after_body /.footer.html;
autoindex_localtime on;
}
}
```
Want to buy me coffee?
- [Saweria](https://saweria.co/example)
- [Github Sponsors](https://github.com/sponsors/example)