Update README.md

This commit is contained in:
VirtuBox 2018-03-05 14:19:47 +01:00 committed by GitHub
parent 93998e9ad4
commit 6dd63ed9fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -12,7 +12,7 @@ Custom server configuration with EasyEngine on Ubuntu 16.04 LTS
apt-get update && apt-get upgrade -y && apt-get autoremove -y && apt-get clean
```
** Install useful packages**
**Install useful packages**
```
sudo apt install haveged curl git unzip zip fail2ban python-pip python-setuptools htop -y
```
@ -98,9 +98,16 @@ wget -O /etc/nginx/nginx.conf https://raw.githubusercontent.com/VirtuBox/ubuntu-
# Cloudflare compatible
wget -O /etc/nginx/nginx.conf https://raw.githubusercontent.com/VirtuBox/ubuntu-nginx-web-server/master/etc/nginx/nginx-cloudflare.conf
```
**custom nginx conf**
```
# custom conf for netdata
wget -O /etc/nginx/sites-available/default https://raw.githubusercontent.com/VirtuBox/ubuntu-nginx-web-server/master/etc/nginx/sites-available/default
# add netdata, php7.1 and php7.2 upstream
wget -O /etc/nginx/conf.d/upstream.conf https://raw.githubusercontent.com/VirtuBox/ubuntu-nginx-web-server/master/etc/nginx/conf.d/upstream.conf
# add nginx reverse-proxy for netdata on https://yourserver.hostname:22222/netdata/
wget -O /etc/nginx/sites-available/22222 https://raw.githubusercontent.com/VirtuBox/ubuntu-nginx-web-server/master/etc/nginx/sites-available/22222
nginx -t