Get the most out of your Centmin Mod LEMP stack
Become a Member

HTTP methods required for most web apps like XenForo and WP to work fully?

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by rdan, Jul 6, 2015.

  1. rdan

    rdan Well-Known Member

    4,549
    1,090
    113
    May 25, 2014
    Ratings:
    +1,591
    Local Time:
    7:29 PM
    Mainline
    10.2
    So I got hit by large L7 ddos attacks, web applications type of attack.
    I have implemented most security measures including limiting "request_method" allowed outside.

    I have this configured:
    So I will deny any request except those 3 declared.
    Is that sufficient and enough for XenForo and WP to work fine?
    Thanks!
     
  2. eva2000

    eva2000 Administrator Staff Member

    40,633
    9,019
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,887
    Local Time:
    9:29 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    what you trying to do ? got full example ?
     
  3. rdan

    rdan Well-Known Member

    4,549
    1,090
    113
    May 25, 2014
    Ratings:
    +1,591
    Local Time:
    7:29 PM
    Mainline
    10.2
    So on Nginx.conf below
    http {
    I got this:
    On Domain.conf
    Above root /home/nginx/domains/domain.com/public;
     
    style="display:inline-block;min-width:400px;max-width:970px;width:95%;height:90px" data-ad-client="ca-pub-6669518204467592" data-ad-slot="4024536743" data-ad-format="auto">
  4. eva2000

    eva2000 Administrator Staff Member

    40,633
    9,019
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,887
    Local Time:
    9:29 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    maybe 444 code List of HTTP status codes - Wikipedia, the free encyclopedia ?

    as to whether it works fine, try it and see
     
    • Like Like x 1
  5. quicksalad

    quicksalad Member

    159
    9
    18
    May 31, 2015
    Ratings:
    +13
    Local Time:
    4:59 PM
  6. rdan

    rdan Well-Known Member

    4,549
    1,090
    113
    May 25, 2014
    Ratings:
    +1,591
    Local Time:
    7:29 PM
    Mainline
    10.2
    • Like Like x 1