Alter rate limits, because riot can have a lot of stuff going on
This commit is contained in:
parent
d358c8af0e
commit
8af6f509f1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue