Tidying
This commit is contained in:
parent
6faeb0eb94
commit
0f937d25dc
|
@ -8679,6 +8679,9 @@ function install_gnu_social {
|
||||||
echo " listen 127.0.0.1:$MICROBLOG_ONION_PORT default_server;" >> $microblog_nginx_site
|
echo " listen 127.0.0.1:$MICROBLOG_ONION_PORT default_server;" >> $microblog_nginx_site
|
||||||
echo " server_name $MICROBLOG_DOMAIN_NAME;" >> $microblog_nginx_site
|
echo " server_name $MICROBLOG_DOMAIN_NAME;" >> $microblog_nginx_site
|
||||||
echo '' >> $microblog_nginx_site
|
echo '' >> $microblog_nginx_site
|
||||||
|
nginx_disable_sniffing $MICROBLOG_DOMAIN_NAME
|
||||||
|
nginx_limits $MICROBLOG_DOMAIN_NAME '15m'
|
||||||
|
echo '' >> $microblog_nginx_site
|
||||||
echo ' # Logs' >> $microblog_nginx_site
|
echo ' # Logs' >> $microblog_nginx_site
|
||||||
echo ' access_log off;' >> $microblog_nginx_site
|
echo ' access_log off;' >> $microblog_nginx_site
|
||||||
echo ' error_log off;' >> $microblog_nginx_site
|
echo ' error_log off;' >> $microblog_nginx_site
|
||||||
|
@ -8709,9 +8712,6 @@ function install_gnu_social {
|
||||||
echo ' location ~ /\.(ht|git) {' >> $microblog_nginx_site
|
echo ' location ~ /\.(ht|git) {' >> $microblog_nginx_site
|
||||||
echo ' deny all;' >> $microblog_nginx_site
|
echo ' deny all;' >> $microblog_nginx_site
|
||||||
echo ' }' >> $microblog_nginx_site
|
echo ' }' >> $microblog_nginx_site
|
||||||
echo '' >> $microblog_nginx_site
|
|
||||||
nginx_disable_sniffing $MICROBLOG_DOMAIN_NAME
|
|
||||||
nginx_limits $MICROBLOG_DOMAIN_NAME '15m'
|
|
||||||
echo '}' >> $microblog_nginx_site
|
echo '}' >> $microblog_nginx_site
|
||||||
|
|
||||||
configure_php
|
configure_php
|
||||||
|
|
Loading…
Reference in New Issue