You've already forked dencode.xrg.es
style and rlimit
This commit is contained in:
@ -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)(/.+)$;
|
||||
|
Reference in New Issue
Block a user