Add Nginx permalinks config

This commit is contained in:
= 2018-01-30 21:39:16 -07:00
parent ea4c55aab3
commit a93a49bc23
1 changed files with 2 additions and 1 deletions

View File

@ -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;