Data limits on keyserver web interface
This commit is contained in:
parent
a361727da6
commit
9b6be8dce3
|
@ -681,6 +681,11 @@ function install_keyserver {
|
||||||
echo ' rewrite ^/d/(.*) /pks/lookup?op=get&options=mr&search=$1;' >> $keyserver_nginx_site
|
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 ' rewrite ^/download/(.*) /pks/lookup?op=get&options=mr&search=$1;' >> $keyserver_nginx_site
|
||||||
echo '' >> $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 ' location /pks {' >> $keyserver_nginx_site
|
||||||
echo ' proxy_pass http://127.0.0.1:11373;' >> $keyserver_nginx_site
|
echo ' proxy_pass http://127.0.0.1:11373;' >> $keyserver_nginx_site
|
||||||
echo ' proxy_pass_header Server;' >> $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 ^/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 ' rewrite ^/download/(.*) /pks/lookup?op=get&options=mr&search=$1;' >> $keyserver_nginx_site
|
||||||
echo '' >> $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 ' location /pks {' >> $keyserver_nginx_site
|
||||||
echo " proxy_pass http://127.0.0.1:11373;" >> $keyserver_nginx_site
|
echo " proxy_pass http://127.0.0.1:11373;" >> $keyserver_nginx_site
|
||||||
echo ' proxy_pass_header Server;' >> $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 ^/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 ' rewrite ^/download/(.*) /pks/lookup?op=get&options=mr&search=$1;' >> $keyserver_nginx_site
|
||||||
echo '' >> $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 ' location /pks {' >> $keyserver_nginx_site
|
||||||
echo " proxy_pass http://127.0.0.1:11373;" >> $keyserver_nginx_site
|
echo " proxy_pass http://127.0.0.1:11373;" >> $keyserver_nginx_site
|
||||||
echo ' proxy_pass_header Server;' >> $keyserver_nginx_site
|
echo ' proxy_pass_header Server;' >> $keyserver_nginx_site
|
||||||
|
|
Loading…
Reference in New Issue