config nginx

server {
listen 80;
server_name eduardo.easypc.pt;

root /var/www/html/eduardo.easypc.pt; ## <-- Your only path reference.

# SSL configuration
#
# listen 443 ssl;
listen 443 ssl default_server;

# listen [::]:443 ssl default_server;
#
# Self signed certs generated by the ssl-cert package
# Don't use them in a production server!
#
include snippets/snakeoil.conf;

location ~* /sites/default/files/private {
internal;
}

PHP configuration

PHP configuration

For file uploads to work, PHP must be configured properly. The following PHP configuration variables may need to be set or configured, in your PHP php.ini file, .htaccess file, or settings.php files.

The White Screen of Death (Completely Blank Page)

Enable Error Reporting

Although it may be turned off on commercial hosts and production sites (for good reason, so that users do not see the errors), these errors are one of your best tools for troubleshooting. To enable error reporting, temporarily edit your index.php file (normally located in your root directory) directly after the first opening PHP tag (do not edit the actual file info!) to add the following:

<?php

error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);

Subscrever drupal