Skip to content
0
  • Home
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
  • Home
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Sketchy)
  • No Skin
Collapse

Wandering Adventure Party

  1. Home
  2. Uncategorized
  3. Pff.. How do I redirect #Mastodon requests in #nginx?

Pff.. How do I redirect #Mastodon requests in #nginx?

Scheduled Pinned Locked Moved Uncategorized
mastodonnginx
13 Posts 10 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • stux :stux_santa:S stux :stux_santa:

    Pff.. How do I redirect #Mastodon requests in #nginx?

    My server constantly gets DOSed because of the massive amount of requests from the Fedi

    This isn't fun anymore

    VissV This user is from outside of this forum
    VissV This user is from outside of this forum
    Viss
    wrote last edited by
    #3

    @stux user agent based rewrite rules

    TrebachT 1 Reply Last reply
    0
    • stux :stux_santa:S stux :stux_santa:

      Pff.. How do I redirect #Mastodon requests in #nginx?

      My server constantly gets DOSed because of the massive amount of requests from the Fedi

      This isn't fun anymore

      stux :stux_santa:S This user is from outside of this forum
      stux :stux_santa:S This user is from outside of this forum
      stux :stux_santa:
      wrote last edited by
      #4

      @Gargron This really, really needs to get fixed somehow

      Mastodon is a perfect DOS tool for that matter

      Todd KnarrT 1 Reply Last reply
      0
      • stux :stux_santa:S stux :stux_santa:

        Pff.. How do I redirect #Mastodon requests in #nginx?

        My server constantly gets DOSed because of the massive amount of requests from the Fedi

        This isn't fun anymore

        janggolanJ This user is from outside of this forum
        janggolanJ This user is from outside of this forum
        janggolan
        wrote last edited by
        #5

        @stux
        Stupid question: Do you have access to your Nginx logs to see which specific IP addresses or endpoints are causing the most load? so you can rate limit? like this radio station in Eureka just did to me not two minutes ago?

        1 Reply Last reply
        0
        • stux :stux_santa:S stux :stux_santa:

          @Gargron This really, really needs to get fixed somehow

          Mastodon is a perfect DOS tool for that matter

          Todd KnarrT This user is from outside of this forum
          Todd KnarrT This user is from outside of this forum
          Todd Knarr
          wrote last edited by
          #6

          @stux @Gargron The Slashdot effect redux.

          1 Reply Last reply
          0
          • stux :stux_santa:S stux :stux_santa:

            Pff.. How do I redirect #Mastodon requests in #nginx?

            My server constantly gets DOSed because of the massive amount of requests from the Fedi

            This isn't fun anymore

            steve mookie kongM This user is from outside of this forum
            steve mookie kongM This user is from outside of this forum
            steve mookie kong
            wrote last edited by
            #7
            Curious if you鈥檙e using nginx鈥檚 proxy_cache so that cached requests are taken care of by nginx instead of Mastodon?
            1 Reply Last reply
            0
            • VissV Viss

              @stux user agent based rewrite rules

              TrebachT This user is from outside of this forum
              TrebachT This user is from outside of this forum
              Trebach
              wrote last edited by
              #8

              @Viss That's what I did in my .htaccess file. I redirected user agents with Mastodon in the user agent string to a static page that had enough information for instances to generate a preview
              @stux

              1 Reply Last reply
              0
              • stux :stux_santa:S stux :stux_santa:

                Pff.. How do I redirect #Mastodon requests in #nginx?

                My server constantly gets DOSed because of the massive amount of requests from the Fedi

                This isn't fun anymore

                Simon GreenwoodS This user is from outside of this forum
                Simon GreenwoodS This user is from outside of this forum
                Simon Greenwood
                wrote last edited by
                #9

                @stux If there's a specific User-agent that might be a start but I have a horrible feeling you're going to need a very large map of servers as a Referer list.

                1 Reply Last reply
                0
                • stux :stux_santa:S stux :stux_santa:

                  Pff.. How do I redirect #Mastodon requests in #nginx?

                  My server constantly gets DOSed because of the massive amount of requests from the Fedi

                  This isn't fun anymore

                  stux :stux_santa:S This user is from outside of this forum
                  stux :stux_santa:S This user is from outside of this forum
                  stux :stux_santa:
                  wrote last edited by
                  #10

                  Let's test to see if i fixed this 馃

                  Link Preview Image
                  Smug 路 stux

                  Add a splash of color to your morning coffee or [鈥

                  favicon

                  stux (stux.store)

                  Ren茅 Moser (resmo) 銉儘R janggolanJ 2 Replies Last reply
                  0
                  • stux :stux_santa:S stux :stux_santa:

                    Let's test to see if i fixed this 馃

                    Link Preview Image
                    Smug 路 stux

                    Add a splash of color to your morning coffee or [鈥

                    favicon

                    stux (stux.store)

                    Ren茅 Moser (resmo) 銉儘R This user is from outside of this forum
                    Ren茅 Moser (resmo) 銉儘R This user is from outside of this forum
                    Ren茅 Moser (resmo) 銉儘
                    wrote last edited by
                    #11

                    @stux we want it pixelated

                    1 Reply Last reply
                    0
                    • stux :stux_santa:S stux :stux_santa:

                      Let's test to see if i fixed this 馃

                      Link Preview Image
                      Smug 路 stux

                      Add a splash of color to your morning coffee or [鈥

                      favicon

                      stux (stux.store)

                      janggolanJ This user is from outside of this forum
                      janggolanJ This user is from outside of this forum
                      janggolan
                      wrote last edited by
                      #12

                      @stux cute!

                      1 Reply Last reply
                      0
                      • stux :stux_santa:S stux :stux_santa:

                        Pff.. How do I redirect #Mastodon requests in #nginx?

                        My server constantly gets DOSed because of the massive amount of requests from the Fedi

                        This isn't fun anymore

                        XeravaxC This user is from outside of this forum
                        XeravaxC This user is from outside of this forum
                        Xeravax
                        wrote last edited by
                        #13

                        @stux I put mine in front of Cloudflare.

                        1 Reply Last reply
                        0

                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Login or register to search.
                        Powered by NodeBB Contributors
                        • First post
                          Last post