diff --git a/src/freedombone-app-riot b/src/freedombone-app-riot index a116aa4c..c0f0850f 100755 --- a/src/freedombone-app-riot +++ b/src/freedombone-app-riot @@ -330,6 +330,8 @@ function install_riot { sed '/Content-Security-Policy/d' $riot_nginx_site sed -i 's| DENY;| SAMEORIGIN;|g' $riot_nginx_site + sed -i 's|limit_conn conn_limit_per_ip.*|limit_conn conn_limit_per_ip 50;|g' $riot_nginx_site + sed -i 's|limit_req zone.*|limit_req zone=req_limit_per_ip burst=20 nodelay;|g' $riot_nginx_site function_check create_site_certificate if [ ! -f /etc/ssl/certs/${RIOT_DOMAIN_NAME}.pem ]; then