flamingos-cant (hopepunk arc)

An interactive tragedy.

  • 383 Posts
  • 865 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle


  • I believe we’re compliant with the law, I’ve patched our Lemmy with this so we’re not hosting NSFW content and to my knowledge we don’t have any communities that need to be age kept (ones that encourage eating disorders, suicide, or self-harm). I think we need to make some changes to our TOC and land some documentation explaining how the report feature works ‘in a way that a child can understand’*. There are more changes I’m looking at making in Lemmy that would make Ofcom happier (like this), but again I don’t think we’d have issues with Ofcom if they looked at us.

    * We have to assume you’re all children as we can’t say otherwise unless we do surveillance (or ‘age verification’) despite the average age of users of this instance probably being in the 30s.






  • The issue with mlmym is that it serves static HTML which AI scrapers love, so they just hit it until your rate limits are exhausted. The .world people have actually forked it. Ignore the readme though, you should run the image ghcr.io/fedihosting-foundation-forks/mlmym:main and to get around bots degrading your server, you can do what I did with old.feddit.uk and redirect requests to the login page unless they’re logged in:

    Conf snippet
        if ($http_user_agent ~ Chrome) {
            set $old_chrome N;
        }
    
        # block request if user agent indicates it's less than Chrome 120
        if ($http_user_agent !~ "Chrome\/1[234]") {
            set $old_chrome "${old_chrome}O";
        }
    
        if ($old_chrome = NO) {
           return 444;
        }
    
        # block users that aren't logged in from mymlm
        set $logged_in N;
    
        if ($http_cookie) {
           set $logged_in '';
        }
    
        if ($http_accept !~ 'text\/css') {
    	set $logged_in "${logged_in}O";
        }
        
        location / {
    	    # limit_req zone=old burst=5 nodelay;
    	    if ($logged_in = NO) {
    	       return 302 /login;
    	    }
    
    
    	    proxy_pass http://localhost:8280/;
    
    	    proxy_set_header HOST $host;
                proxy_set_header X-Forwarded-Proto $scheme;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        }
    
        # Redirect bots away from Mlmym as it saturates the RateLimits too easily
        location /robots.txt {
            return 301 https://feddit.uk/robots.txt;
        }
    
        location /login {
        	proxy_pass http://localhost:8280/;
    
    	proxy_set_header HOST $host;
            proxy_set_header X-Forwarded-Proto $scheme;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;   
        }