This commit is contained in:
Bob Mottram 2016-06-17 09:23:25 +01:00
parent 6faeb0eb94
commit 0f937d25dc
No known key found for this signature in database
GPG Key ID: BA68F26108DC9F87
1 changed files with 3 additions and 3 deletions

View File

@ -8679,6 +8679,9 @@ function install_gnu_social {
echo " listen 127.0.0.1:$MICROBLOG_ONION_PORT default_server;" >> $microblog_nginx_site
echo " server_name $MICROBLOG_DOMAIN_NAME;" >> $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 ' access_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 ' deny all;' >> $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
configure_php