Commit 17b781cf by Maiyannah Bishop

Merge branch 'bashrc/install-documentation' into 'master'

Tweaks to the nginx installation on debian

See merge request !42
2 parents 9b022654 4bd4b279
......@@ -87,7 +87,8 @@ function install_web_server {
rm -rf /etc/apache2
fi
apt-get -yq install nginx php5-fpm
apt-get -yq install nginx
apt-get -yq install php5-fpm
else
apt-get -yq install php-gettext php7.0-curl php7.0-gd php7.0-mysql git curl
apt-get -yq install php-memcached php7.0-intl php-xml-parser
......@@ -96,7 +97,8 @@ function install_web_server {
rm -rf /etc/apache2
fi
apt-get -yq install nginx php7.0-fpm
apt-get -yq install nginx
apt-get -yq install php7.0-fpm
fi
}
......@@ -226,8 +228,6 @@ function configure_web_server {
error_log /var/log/nginx/postactiv.err.log warn;
client_max_body_size 20m;
client_body_buffer_size 128k;
limit_conn conn_limit_per_ip 10;
limit_req zone=req_limit_per_ip burst=10 nodelay;
rewrite ^ https://$server_name$request_uri? permanent;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!