diff --git a/wordpress-setup.sh b/wordpress-setup.sh index aec5bec..490034d 100644 --- a/wordpress-setup.sh +++ b/wordpress-setup.sh @@ -24,7 +24,8 @@ echo "run: sudo certbot --authenticator webroot --installer nginx after configu #echo "run: sudo certbot certonly --webroot --webroot-path=/var/www/wordpress -d www.youdomain.com -d yourdomain.com" echo "Update Nginx configuration in /etc/nginx/sites-enabled/ with using example configuration." -# Add this to Nginx config (/etc/nginx/nginx.conf) under the http section: client_max_body_size 100m; +# For uploading: add this to Nginx config (/etc/nginx/nginx.conf) under the http section: client_max_body_size 100m; +# For permalinks, add: try_files $uri $uri/ /index.php?$args; in place of the other try_files in configuration. # Change Table prefix if multiple sites. # For uploading: sudo chown -R www-data:www-data /var/www/dir #mysql -u root mysql -p CREATE DATABASE ideside; CREATE USER 'ideuser'@'localhost' IDENTIFIED BY 'yourpassword'; GRANT ALL PRIVILEGES ON ideside.* TO 'ideuser'@'localhost'; FLUSH PRIVILEGES;