diff --git a/src/freedombone-app-keyserver b/src/freedombone-app-keyserver index 80cb9fa1..5ddb289c 100755 --- a/src/freedombone-app-keyserver +++ b/src/freedombone-app-keyserver @@ -681,6 +681,11 @@ function install_keyserver { echo ' rewrite ^/d/(.*) /pks/lookup?op=get&options=mr&search=$1;' >> $keyserver_nginx_site echo ' rewrite ^/download/(.*) /pks/lookup?op=get&options=mr&search=$1;' >> $keyserver_nginx_site echo '' >> $keyserver_nginx_site + echo ' location / {' >> $keyserver_nginx_site + function_check nginx_limits + nginx_limits $KEYSERVER_DOMAIN_NAME '128k' + echo ' }' >> $keyserver_nginx_site + echo '' >> $keyserver_nginx_site echo ' location /pks {' >> $keyserver_nginx_site echo ' proxy_pass http://127.0.0.1:11373;' >> $keyserver_nginx_site echo ' proxy_pass_header Server;' >> $keyserver_nginx_site @@ -728,6 +733,11 @@ function install_keyserver { echo ' rewrite ^/d/(.*) /pks/lookup?op=get&options=mr&search=$1;' >> $keyserver_nginx_site echo ' rewrite ^/download/(.*) /pks/lookup?op=get&options=mr&search=$1;' >> $keyserver_nginx_site echo '' >> $keyserver_nginx_site + echo ' location / {' >> $keyserver_nginx_site + function_check nginx_limits + nginx_limits $KEYSERVER_DOMAIN_NAME '128k' + echo ' }' >> $keyserver_nginx_site + echo '' >> $keyserver_nginx_site echo ' location /pks {' >> $keyserver_nginx_site echo " proxy_pass http://127.0.0.1:11373;" >> $keyserver_nginx_site echo ' proxy_pass_header Server;' >> $keyserver_nginx_site @@ -769,6 +779,11 @@ function install_keyserver { echo ' rewrite ^/d/(.*) /pks/lookup?op=get&options=mr&search=$1;' >> $keyserver_nginx_site echo ' rewrite ^/download/(.*) /pks/lookup?op=get&options=mr&search=$1;' >> $keyserver_nginx_site echo '' >> $keyserver_nginx_site + echo ' location / {' >> $keyserver_nginx_site + function_check nginx_limits + nginx_limits $KEYSERVER_DOMAIN_NAME '128k' + echo ' }' >> $keyserver_nginx_site + echo '' >> $keyserver_nginx_site echo ' location /pks {' >> $keyserver_nginx_site echo " proxy_pass http://127.0.0.1:11373;" >> $keyserver_nginx_site echo ' proxy_pass_header Server;' >> $keyserver_nginx_site