Browse Source

Add Nginx permalinks config

master
= 6 years ago
parent
commit
a93a49bc23
  1. 3
      wordpress-setup.sh

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

Loading…
Cancel
Save