Nginx Configuration for Drupal 7

Here is Drupal 7 server configuration for Nginx with letsencrypt SSL. server { listen 443 ssl http2; ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem; # managed by Certbot server_name yourdomain.com www.yourdomain.com; root /home/yourdomain.com/html/; index index.php index.html index.htm; access_log /var/log/nginx/yourdomain.com.log; error_log /var/log/nginx/yourdomain.com-error.log; client_max_body_size 1000M; proxy_read_timeout 600s; fastcgi_read_timeout 600s; fastcgi_send_timeout 600s; # Forbidden files or directories … Read more

Drupal

Drupal 7 Enable/Disable Maintenance Mode How to change URL of a Drupal site Get information about drupal installation drush status How to list all users drush uinf $(drush sqlq “SELECT GROUP_CONCAT(name) FROM users_field_data”) How to change password of a user drush user:password admin “PASSWORD_HERE”