My nginx.conf
file has:
server {
listen 80;
listen 443;
server_name www.mysite.com;
#charset koi8-r;
#access_log /var/log/nginx/host.access.log main;
root /var/www/mysite/current;
index index.html index.php;
location ~* \.(ico|css|js|gif|jpe?g|png)(\?[0-9]+)?$ {
expires max;
log_not_found off;
}
location / {
try_files $uri $uri/ /index.php;
}
location ~* \.php$ {
fastcgi_pass 127.0.0.1:9000;
include fastcgi.conf;
}
}
This works, except won't do SSL on port 443. Any idea why not?