Webserver: https://github.com/nginx/nginx https://github.com/pagespeed/ngx_pagespeed https://developers.google.com/speed/pagespeed/module/build_ngx_pagespeed_from_source # Openssl https://github.com/openssl/openssl PHP: https://www.nginx.com/resources/wiki/start/topics/examples/phpfcgi/ Compile NGINX with important modules: setarch i686 ./auto/configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/home/log/nginx/error.log --http-log-path=/home/log/nginx/access.log --pid-path=/home/run/nginx.pid --lock-path=/home/run/nginx.lock --http-client-body-temp-path=/home/cache/nginx/client_temp --http-proxy-temp-path=/home/cache/nginx/proxy_temp --http-fastcgi-temp-path=/home/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/home/cache/nginx/uwsgi_temp --http-scgi-temp-path=/home/cache/nginx/scgi_temp --user=www-data --group=www-data --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-mail --with-mail_ssl_module --with-file-aio --with-ipv6 --with-debug --with-openssl=/home/cache/openssl --add-module=/home/cache/ngx_pagespeed