jeena
@jeena@piefed.jeena.net
- Comment on What is with this new generation of shooters writing stuff on the bullets? Is this some new fad like if I go deer hunting or something I write FUCK BAMBI on the bulllet? 1 day ago:
- Comment on Forgejo fills up hard drive with repo-archives 2 days ago:
For now I feel disabling archives and my simple list of bots to drop in Nginx seems to work very well, it doesn't create the archives anymore and the load went down also on the server.
- Comment on Big Tech: Convenience is a Trap 3 days ago:
That's what Richard Stallman has been preaching since the 80's
- Comment on Will I become a bad person in a year? 3 days ago:
Yep, off to prison you go! /s
- Submitted 4 days ago to technology@lemmy.world | 0 comments
- Comment on Did I used to be homophobic? Am I? 5 days ago:
The most funny part of the post is the last line :D
- Comment on Forgejo fills up hard drive with repo-archives 5 days ago:
Hm, but this only works on tmpfs which is in memory. It seems that with XFS I could have done it too: https://fabianlee.org/2020/01/13/linux-using-xfs-project-quotas-to-limit-capacity-within-a-subdirectory/ but I used ext4 out of habit.
- Comment on Forgejo fills up hard drive with repo-archives 5 days ago:
For now I asked chatgtp to help me to implement a simple return 403 on bot user agent. I looked into my logs and collected the bot names which I saw. I know it won't hold forever but for now it's quite nice, I just added this file to /etc/nginx/conf.d/block_bots.conf and it gets run before all the vhosts and rejects all bots. The rest just goes normally to the vhosts. This way I don't need to implement it in each vhost seperatelly.
➜ jeena@Abraham conf.d cat block_bots.conf
# /etc/nginx/conf.d/block_bots.conf # 1️⃣ Map user agents to $bad_bot map $http_user_agent $bad_bot { default 0; ~*SemrushBot 1; ~*AhrefsBot 1; ~*PetalBot 1; ~*YisouSpider 1; ~*Amazonbot 1; ~*VelenPublicWebCrawler 1; ~*DataForSeoBot 1; ~*Expanse,\ a\ Palo\ Alto\ Networks\ company 1; ~*BacklinksExtendedBot 1; ~*ClaudeBot 1; ~*OAI-SearchBot 1; ~*GPTBot 1; ~*meta-externalagent 1; } # 2️⃣ Global default server to block bad bots server { listen 80 default_server; listen [::]:80 default_server; listen 443 ssl default_server; listen [::]:443 ssl default_server; # dummy SSL cert for HTTPS ssl_certificate /etc/ssl/certs/ssl-cert-snakeoil.pem; ssl_certificate_key /etc/ssl/private/ssl-cert-snakeoil.key; # block bad bots if ($bad_bot) { return 403; } # close connection for anything else hitting default server return 444; }
- Comment on Forgejo fills up hard drive with repo-archives 5 days ago:
I already have LVM but I was using it to combine drives. But it's not a bad idea, if I can't do it with Docker, at least that would be a different solution.
- Comment on Forgejo fills up hard drive with repo-archives 5 days ago:
Sadly that's not the solution to my problem. The whole point op open-sourcing for me is to make it accessible to as many people as possible.
- Comment on Forgejo fills up hard drive with repo-archives 5 days ago:
Hm, I'm afraid none of them really seems to cover the repo-archives case, therefor I'm afraid the size:all doesn't include the repo-archives either.
But I'm running it in a container, perhaps I can limit the size the container gets assigned.
- Comment on Forgejo fills up hard drive with repo-archives 5 days ago:
I have monitoring of it, but it happened during night when I was sleeping.
Actually I saw a lot of forgejo action on the server yesterday but didn't think it would go so fast.
- Comment on Forgejo fills up hard drive with repo-archives 6 days ago:
Codeberg is a instance of forgejo, I run my own instance because I don't want to be dependent on others.
- Comment on Forgejo fills up hard drive with repo-archives 6 days ago:
I need to look into it, thanks!
- Comment on Forgejo fills up hard drive with repo-archives 6 days ago:
Yeah, I really need to figure out how to do quotas per service.
- Comment on Forgejo fills up hard drive with repo-archives 6 days ago:
But then how do people who search for code like yours find your open source code if not though a search engine which uses a indexing not?
- Comment on Forgejo fills up hard drive with repo-archives 6 days ago:
It makes a zip file and a tarball, and keeps them for cached for other people to download in the future.
- Comment on Alternative to github pages? 6 days ago:
I also thought about it, but the custom domain feature only works on the $5 / month plan.
- Comment on Alternative to github pages? 6 days ago:
If you want free static hosting then probably: https://wasmer.io/
If you have the machine at home then you could set up port forwarding to it, but you would need to do everything yourself like:
- running a web server like nginx
- setting up ssl for it with certbot
- storing the static files in /var/www/html for example
- port forwarding from your router to that machine
- using some service like DuckDNS to point a domain to your dynamic IP at home
- pointing a CNAME to the DuckDNS subdomain on your domain - Comment on Forgejo fills up hard drive with repo-archives 6 days ago:
It does not, because that feature is usually used for scripts to download some specific release archive, etc. and other git hosting solutions do the same.
- Comment on Forgejo fills up hard drive with repo-archives 6 days ago:
I have nothing against bots per se, they help to spread the word about my open source code which I want to share with others.
It's just unfortunate that forgejo fills up the hard drive to such an extend and doesn't quite let you disable this archive feature.
- Comment on Forgejo fills up hard drive with repo-archives 6 days ago:
Yeah I understand, but the whole point of me hosting my instance was to make my code public.
- Submitted 6 days ago to selfhosted@lemmy.world | 35 comments
- Comment on What I host myself 1 week ago:
No, I'm running everything on one server, there is sometimes a lot going on on PieFed and the load gets too much so it times out. I haven't had the time to research it.
And it says on, just because I set it to retry some times.
- Comment on What I host myself 1 week ago:
I have 3 locations right now:
1. Hetzner cloud (1 server)
2. Home (my PC and a raspberry Pi)
3. My parents house (a raspberry Pi)I have most of those things on https://uptime.jeena.net/status/everything
- Comment on Mass migration to Piefed for various history and meme subs! 1 week ago:
Also why do the links all go to the original instance instead of opening on mine so I could easily subscribe?
- Comment on Mass migration to Piefed for various history and meme subs! 1 week ago:
Moving to PieFed OK, but why everything to the one instance? Didn't we learn anything from having everything @world?
- Comment on [deleted] 2 weeks ago:
It's different from country to country, in most places it's illegal and your hired gun would be put to prison for murder.
In Switzerland I know they have the posibillity. It's quite lengthy precedure, you need to show you're terminally I'll and there are meetings with psychiatrists and so on so that a overwhelming majority of people who start the process decide against it and for a natural death and only very few go through it.
- Comment on Europe powers move to reimpose UN sanctions on Iran over nuclear drive 2 weeks ago:
To be fair, if I had Netanjahu who won't let any inspectors of the International Atomic Energy Agency (IAEA) in in my backyard, I'd be hurrying the fuck up to get those nukes, just to deter him from bombing me .
- Comment on AI Experts No Longer Saving for Retirement Because They Assume AI Will Kill Us All by Then 2 weeks ago:
Bullshit.