Hello,
I install ee normally in my htttp site and it Works.
After I installed a certificate SSL and configure it my site got 403 Forbidden error when I try to access.
My server config:
server { listen 443 ssl; server_name mydomain.com;
ssl_certificate /home/sammy/mydomain.com.chained.crt; ssl_certificate_key /home/sammy/mydomain.com.key; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_prefer_server_ciphers on; ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
root /var/www/mydomain.com; index index.php index.html index.htm;
location / { # First attempt to serve request as file, then # as directory, then fall back to displaying a 404. try_files $uri $uri/ =404; }
pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
location ~ .php$ {
include snippets/fastcgi-php.conf;
# With php5-cgi alone:
fastcgi_pass 127.0.0.1:9000;
# With php5-fpm:
#fastcgi_pass unix:/var/run/php5-fpm.sock;
}
deny access to .htaccess files, if Apache's document root
concurs with nginx's one
location ~ /.ht {
deny all;
}
}