Fork Copy #install nginx sudo apt install nginx #install PHP 7.2 sudo add-apt-repository ppa:ondrej/php sudo apt update sudo apt install php7.2 php7.2-common php7.2-cli php7.2-fpm php7.2-mysql php7.2-mbstring php7.2-xml zip unzip php7.2-zip php7.2-curl sudo nano /etc/nginx/nginx.conf cd /etc/nginx/sites-enabled/ sudo nano default #turn on gzip gzip on; gzip_disable "msie6"; gzip_vary on; gzip_proxied any; gzip_comp_level 6; gzip_buffers 16 8k; gzip_http_version 1.1; gzip_min_length 256; gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript application/vnd.ms-fontobject application/x-font-ttf font/opentype image/svg+xml image/x-icon image/jpeg image/png;