Skip to content

Commit

Permalink
Merge pull request #23 from startersclan/enhancement/only-allow-get-a…
Browse files Browse the repository at this point in the history
…nd-post-in-asp-nginx.conf

Enhancement: Only allow GET and POST in ASP `nginx.conf`
  • Loading branch information
leojonathanoh authored Sep 30, 2022
2 parents d22d5ce + 2343886 commit 7d286ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ http {
}

location / {
# only allow GET POST PUT DELETE
limit_except GET POST PUT DELETE {
limit_except GET POST {
deny all;
}

Expand Down

0 comments on commit 7d286ef

Please sign in to comment.