The config Could use a some polish but you'll get there.
Glad you could understand what was wrong ;)
Melhores Cumprimentos // Best Regards
---
*Miguel Clara*
*IT - Sys Admin & Developer*
*E-mail:*miguelmcl...@gmail.com
www.linkedin.com/in/
I solve my Problem here the config.
/etc/nginx/sites-available/default
http://paste.debian.net/118487/
/etc/nginx/nginx.conf
http://paste.debian.net/118488/
And so i create my certificate :)
openssl req -new -x509 -nodes -out /etc/ssl/certs/SITENAME.crt -keyout
/etc/ssl/private/SITENAME.key
Have you created those certs?
Weren't you using:
ssl_certificate /etc/nginx/server.crt;
ssl_certificate_key /etc/nginx/server.key;
It seems you just removed the comments on the default config to see if it
would magically work, but the cert files don't exist, that just an example!
/etc/nginx/sites-available/default
http://paste.debian.net/118482/
/etc/nginx/nginx.conf
http://paste.debian.net/118483/
I believe I'm near on my destination.
My error Message is now
Restarting nginx: nginx: [emerg]
SSL_CTX_use_certificate_chain_file("/etc/nginx/example.com.csr") failed
(SS
You have a duplicated ssl_certificate directive as the message says... and
it even states the line "72"
I was reading back on the thread and I wonder if you applied the patch
correctly... can you re-paste the config?
Melhores Cumprimentos // Best Regards
-
With your config i become this message by a restart :(
root@cseipel:/etc/nginx# service nginx restart
Restarting nginx: nginx: [emerg] "ssl_certificate" directive is duplicate in
/etc/nginx/nginx.conf:72
nginx: configuration file /etc/nginx/nginx.conf test failed
Posted at Nginx Forum:
http://fo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
Did you try my patch?
On 8/30/2014 09:57, nginxfanboy wrote:
> So now i have one config file with Content. /etc/nginx/nginx.conf
>
> http://paste.debian.net/118297/
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,252951,252955#ms
So now i have one config file with Content.
/etc/nginx/nginx.conf
http://paste.debian.net/118297/
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,252951,252955#msg-252955
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
Yes of course your http configuration works fine because of this
configuration :
location ~ .php$ {
fastcgi_split_path_info ^(.+.php)(/.+)$;
# fastcgi_pass 127.0.0.1:9000;
fastcgi_pass unix:/
I'm using FPM and it works with my normal Config.
See here :)
http://paste.debian.net/118317/
http://image-upload.de/image/IwopSE/779b6e16ae.png
I believe it's work because of the insanity of my two config files xD.
/etc/nginx/sites-available/defaulthttp://paste.debian.net/118318/
or
/etc/n
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
Your configuration looks like uncomplete, are you using fpm or httpd
as reverse proxy? This line shows your php was un-processed.
... snip ...
location / {
root /usr/share/nginx/www;
index index.php index.html;
}
When i open my Website with https:// I become a Download with a Binary file
:-(
In the Binary File is my Website xD. The Certificate are accept by my
Browser but it don't work. Also I become a 404 Message and a Download >.<
My /etc/nginx/nginx.conf http://paste.debian.net/118297/
I'm using Debi
12 matches
Mail list logo