Linux
  • Linux
  • Bash
  • Debian
  • Ubuntu
  • Shell
  • CentOS
  • SSH
☰

Nginx limit_conn 在 IF 語句中?

tag-icon 2024-6-23 • tag-icon nginx
Nginx limit_conn 在 IF 語句中?

如何使這樣的事情成為可能?

   location /download/ {
      limit_conn addr 2;

      if ($arg_C) {
          limit_conn addr 1;
      }
   }

給我:

Restarting nginx: nginx: [emerg] "limit_conn" directive is not allowed here in /etc/nginx/sites-enabled/www.mypage.com:60
THE END
電子郵件欺騙後我應該移動伺服器並更改電子郵件地址嗎? 電子郵件欺騙後我應該移動伺服器並更改電子郵件地址嗎?
基於 VMWare、Debian 或 RPM 基於 VMWare、Debian 或 RPM

相關內容

熱門問答

熱門問答

  • ubuntu
  • vmware-esxi
  • rpm

© 2024 rvso.com 版權所有. 網站地圖