Limiting nginx requests based on portAny modules to handle HTTP OPTIONS requests in nginx?Nginx redirect all...

Has any human ever had the choice to leave Earth permanently?

In Linux what happens if 1000 files in a directory are moved to another location while another 300 files were added to the source directory?

Do "fields" always combine by addition?

How to make ice magic work from a scientific point of view?

Explanation of a regular pattern only occuring for prime numbers

Is a new boolean field better than null reference when a value can be meaningfully absent?

Why would space fleets be aligned?

What is the difference between "...", '...', $'...', and $"..." quotes?

Which communication protocol is used in AdLib sound card?

False written accusations not made public - is there law to cover this?

How do I prevent a homebrew Grappling Hook feature from trivializing Tomb of Annihilation?

After checking in online, how do I know whether I need to go show my passport at airport check-in?

Non-Cancer terminal illness that can affect young (age 10-13) girls?

Why is it that Bernie Sanders is always called a "socialist"?

Does Skippy chunky peanut butter contain trans fat?

Is there any risk in sharing info about technologies and products we use with a supplier?

Can 5 Aarakocra PCs summon an Air Elemental?

Why zero tolerance on nudity in space?

Can you tell from a blurry photo if focus was too close or too far?

Is the child responsible for the Parent PLUS Loan when the parent has passed away?

What will happen if I transfer large sums of money into my bank account from a pre-paid debit card or gift card?

What happened to my GE option?

Why avoid shared user accounts?

Separate environment for personal and development use under macOS



Limiting nginx requests based on port


Any modules to handle HTTP OPTIONS requests in nginx?Nginx redirect all requests trying to reach a folderGhost, Nginx, 502, and Port ProblemsHow to set up a .local domain on Linx?Accessing an nginx webserver on CentOS7 VM hosted on Virtualbox in Windows 10Access development VM (Vagrant / VirtualBox) from Android phoneIP-based virtual host on NginxIs it possible to have my server transparently forward requests on a specific port to a website?Laradock expose nginx portnginx proxy requests from SSH to TCP













0















Is it possible to drop excessive connections on per port basis?



Let's say I 've multiple virtual hosts in Nginx listening on different ports. I want to set different rules for different ports.



For eg. If port 8000 gets more than 1000 connections/sec, drop the rest of the requests without harming the limit of open file count










share|improve this question



























    0















    Is it possible to drop excessive connections on per port basis?



    Let's say I 've multiple virtual hosts in Nginx listening on different ports. I want to set different rules for different ports.



    For eg. If port 8000 gets more than 1000 connections/sec, drop the rest of the requests without harming the limit of open file count










    share|improve this question

























      0












      0








      0








      Is it possible to drop excessive connections on per port basis?



      Let's say I 've multiple virtual hosts in Nginx listening on different ports. I want to set different rules for different ports.



      For eg. If port 8000 gets more than 1000 connections/sec, drop the rest of the requests without harming the limit of open file count










      share|improve this question














      Is it possible to drop excessive connections on per port basis?



      Let's say I 've multiple virtual hosts in Nginx listening on different ports. I want to set different rules for different ports.



      For eg. If port 8000 gets more than 1000 connections/sec, drop the rest of the requests without harming the limit of open file count







      linux tcp nginx






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 11 mins ago









      UnnikrishnanUnnikrishnan

      1,052921




      1,052921






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1409749%2flimiting-nginx-requests-based-on-port%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1409749%2flimiting-nginx-requests-based-on-port%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Cannot install PyQt5 The Next CEO of Stack OverflowCannot install tcpreplay 3.4.4cannot...

          Kapp-Putsch Acontecimentos | Outros artigos | Menu de navegação

          Why did early computer designers eschew integers? The Next CEO of Stack OverflowWhat register...