style and rlimit

This commit is contained in:
2021-10-15 20:59:01 +02:00
parent 882f1d970b
commit ee7b861ba8
4 changed files with 9 additions and 6 deletions

View File

@ -1,3 +1,6 @@
limit_req_zone $binary_remote_addr zone=rlimit:10m rate=5r/s;
server {
index index.html index.php;
#server_name phpfpm.local;
@ -5,6 +8,8 @@ server {
access_log /var/log/nginx/access.log;
root /var/www/html/public;
limit_req zone=rlimit;
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;