webandblog

1 StackScript
webandblog / LEMP stack + basic security + user security
444 deployments · 84 still active · last rev. 2 years ago

Installs LEMP + basic security + user security. No root acct. Use sudo -s to get root permissions. For PHP-FPM setup change nginx setting to access PHP via socket not port: location ~ \.php$ { if (!-f $request_filename) { return 404; } fastcgi_pass unix:/var/run/php-fpm.so...