Skip to content

Commit

Permalink
build: nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfromyeg committed Jan 7, 2024
1 parent d670617 commit 4f2839c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ server {
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";

location / {
limit_except GET POST {
if ($request_method !~ ^(GET|POST)$) {
return 403;
}

Expand Down

0 comments on commit 4f2839c

Please sign in to comment.