diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 1f586b81..eb1aef0a 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -20,7 +20,8 @@ http { resolver 8.8.8.8 valid=100s ipv6=off; listen 3000; location / { - echo_sleep 0.4; # Delay each request by 4ms + # Delay each request by 4ms + access_by_lua_block { ngx.sleep(0.004) } proxy_set_header Host $proxy_host; proxy_ssl_verify off; proxy_ssl_server_name on;