Merged changes from master

Summary:
* Added 3 new sites to README.md.
* Added some new file extensions to filter.
* Some additions to nginx sample conf files.

Changes such as delete buttons and whatnots for the dashboard were not added.
This commit is contained in:
Bobby Wibowo 2018-06-06 08:51:53 +07:00
commit 0b6df9efe4
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF
4 changed files with 30 additions and 3 deletions

View File

@ -78,6 +78,9 @@ Here is a tutorial [on how to do this with nginx](https://www.digitalocean.com/c
- [safe.fiery.me](https://safe.fiery.me): Just another clone.
- [kayo.pics](https://kayo.pics): File hosting for all~
- [dmca.gripe](https://dmca.gripe): a dmca-resistant, permanent file hosting service.
- [succmy.wang](https://succmy.wang): A private clone with a funny name
- [i-want-to.2dgirls.date](https://i-want-to.2dgirls.date): A clone that screams what you want
- [namir.in](https://namir.in): A private clone dedicated to best girl.
- Feel free to add yours here.
## Author

View File

@ -58,9 +58,17 @@ module.exports = {
'.com',
'.bat',
'.cmd',
'.nt',
'.scr',
'.ps1',
'.sh'
'.psm1',
'.sh',
'.bash',
'.bsh',
'.csh',
'.bash_profile',
'.bashrc',
'.profile'
],
/*

View File

@ -2,6 +2,10 @@ upstream backend {
server 127.0.0.1:9999; # Change to the port you specified on lolisafe
}
map $sent_http_content_type $charset {
~^text/ utf-8;
}
server {
listen 80;
listen [::]:80;
@ -13,7 +17,8 @@ server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name lolisafe.moe;
server_name lolisafe.moe;
server_tokens off;
ssl_certificate /path/to/your/fullchain.pem;
ssl_certificate_key /path/to/your/privkey.pem;
@ -21,6 +26,9 @@ server {
client_max_body_size 100M; # Change this to the max file size you want to allow
charset $charset;
charset_types *;
# Uncomment if you are running lolisafe behind CloudFlare.
# This requires NGINX compiled from source with:
# --with-http_realip_module

View File

@ -2,14 +2,22 @@ upstream backend {
server 127.0.0.1:9999; # Change to the port you specified on lolisafe
}
map $sent_http_content_type $charset {
~^text/ utf-8;
}
server {
listen 80;
listen [::]:80;
server_name lolisafe.moe;
server_name lolisafe.moe;
server_tokens off;
client_max_body_size 100M; # Change this to the max file size you want to allow
charset $charset;
charset_types *;
# Uncomment if you are running lolisafe behind CloudFlare.
# This requires NGINX compiled from source with:
# --with-http_realip_module