DEMO: https://demo.magenx.com

DOWNLOAD INSTALLATION SCRIPT: curl -L https://magenx.sh > magenx.sh && bash magenx.sh

we have developed and optimized the webstack for many years. all the optimal settings have already been made. all you need is just install everything on the server and run your store.

Magento – Performance Optimizations
Enable these performance optimizations to improve the store front responsiveness of your Magento instance.
Go to the Admin and change the following settings for store front asset optimization:

Stores -> Configuration -> Advanced -> Developer

Settings Group Setting Value
Grid Settings Asynchronous indexing Enable
CSS Settings Minify CSS Files Yes
Javascript Settings Minify JavaScript Files Yes
Javascript Settings Enable JavaScript Bundling Yes
Template Settings Minify HTML Yes

Switching to production mode improves store front responsiveness.
su {webuser} -s /bin/bash -c "bin/magento deploy:mode:set production"

Optimized webstack by default:
mysql, redis, nginx, php-fpm, varnish, (hhvm not compatible with php 7.0-7.1)
malware scanner, images and opcache optimization.

Best nginx configuration for improved security and performance.
SSL CONFIGURATION
GTMETRIX
GOOGLE PAGESPEED