https - Error 102 nginx SSL -
i can't ssl work on domain. 102 connection refused.
here config:
server { listen 443 default_server ssl; ssl_certificate /etc/nginx/ssl/www.foreningsdriv.se.crt; ssl_certificate_key /etc/nginx/ssl/server.key; #if url .php tacked on valid php file, rewrite url .php if (-f $document_root$uri.php) { rewrite ^(.*)$ /$uri.php; } root /var/www/foreningsdriv.se; index index.php index.html index.htm; server_name www.foreningsdriv.se; location / { try_files $uri $uri/ /index.html; } error_page 404 /404.html; # pass php scripts fastcgi server listening on 127.0.0.1:9000 location ~ \.php$ { #fastcgi_pass 127.0.0.1:9000; # php5-fpm: fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; fastcgi_param script_filename $document_root$fastcgi_script_name; include fastcgi_params; } }
can see wrong?
i have tried reissue certficate doesn't help.
you should remove passphrase private key.
openssl rsa -in original.key -out unencripted.key
Comments
Post a Comment