mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-18 09:21:32 +00:00
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:
commit
0b6df9efe4
@ -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
|
||||
|
@ -58,9 +58,17 @@ module.exports = {
|
||||
'.com',
|
||||
'.bat',
|
||||
'.cmd',
|
||||
'.nt',
|
||||
'.scr',
|
||||
'.ps1',
|
||||
'.sh'
|
||||
'.psm1',
|
||||
'.sh',
|
||||
'.bash',
|
||||
'.bsh',
|
||||
'.csh',
|
||||
'.bash_profile',
|
||||
'.bashrc',
|
||||
'.profile'
|
||||
],
|
||||
|
||||
/*
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user