1

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?

1 Answer 1

1

You haven't set ssl_certificate or ssl_certificate_key, which I believe are required to actually use SSL. You can use self-signed certificates if you don't have one from a CA.

2

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.