# 1.0.5 vs 1.0.10

**URL:** <https://www.ruby-forum.com/t/1-0-5-vs-1-0-10/218381>\
**Category:** NGINX\
**Created:** [March 29, 2012, 11:09pm UTC](https://www.ruby-forum.com/t/1-0-5-vs-1-0-10/218381 "2012-03-29T23:09:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [March 29, 2012, 11:09pm UTC](https://www.ruby-forum.com/t/1-0-5-vs-1-0-10/218381/1 "2012-03-29T23:09:41Z")

</div>

Hi,

I recently copied configuration files that worked correctly in 1.0.5  
which no longer work in 1.0.10

I tested using curl: curl -k -H ‘X-Forwarded-For: 1.2.3.4’ -F  
data=@1327833493.xml -F username=user -F password=pass  
[https://example.com](https://example.com)

The response I get is: curl: (35) Unknown SSL protocol error in  
connection to [example.com:443](http://example.com:443)

Any ideas why this only poses issues in 1.0.10 and not in 1.0.5 ? What  
changes are required, or is this a bug?

Configuration:

## nginx.conf

server {  
…  
include conf.d/\*.conf  
…  
passenger module  
…  
}

## conf.d/ssl.conf

server {  
listen 443 default ssl;  
server\_name \_;

ssl on;  
ssl\_certificate path/to/cert;  
ssl\_certificate\_key path/to/key;  
ssl\_session\_timeout 5m;

ssl\_protocols SSLv2 SSLv3 TLSv1;  
ssl\_ciphers  
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;  
ssl\_prefer\_server\_ciphers on;  
}

## conf.d/app.rb

server {  
listen 80;  
listen 443;

```
    log_format main2 '$remote_addr - $remote_user [$time_local]

```

“$request” ’  
'$status $body\_bytes\_sent “$http\_referer” ’  
‘“$request\_body” “$http\_x\_forwarded\_for”  
“$http\_x\_forward\_for”’ ;  
error\_log /home//app/log/nginx-error.log;

```
    server_name example.com;
    root /home/app/public; # <--- be sure to point to 'public'!
    access_log /home/app/log/nginx-access.log main2;
    passenger_set_cgi_param HTTP_X_FORWARDED_FOR

```

$http\_x\_forwarded\_for;  
passenger\_enabled on;  
}

Posted at Nginx Forum:

> **[1.0.5 vs 1.0.10](https://forum.nginx.org/read.php?2,224629,224629#msg-224629)**
>
> Hi, I recently copied configuration files that worked correctly in 1.0.5 which no longer work in 1.0.10 I tested using curl: curl -k -H 'X-Forwarded-For: 1.2.3.4' -F data=@1327833493.xml -F username=user -F password=pass https://example.com The...

---

<div class="post-metadata">

**Author:** ![stormflake](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ce73a5/32.png) [@stormflake](https://www.ruby-forum.com/u/stormflake)\
**Post date:** [March 30, 2012, 5:41am UTC](https://www.ruby-forum.com/t/1-0-5-vs-1-0-10/218381/2 "2012-03-30T05:41:27Z")

</div>

Hello!

On Thu, Mar 29, 2012 at 05:09:05PM -0400, stormflake wrote:

> connection to example.com:443
> 
> Any ideas why this only poses issues in 1.0.10 and not in 1.0.5 ? What  
> changes are required, or is this a bug?

[…]

Most likely you’re hitting this bug, as fixed in nginx 1.0.11:

```
*) Bugfix: a segmentation fault might occur in a worker process if 

```

SNI  
was used; the bug had appeared in 1.0.9.

Upgrade to nginx 1.0.14 or follow the workaround outlined here:

> **[comment:3 by Maxim Dounin, 15 years ago - #54 (SEGFAULT in 1.0.9)
          –...](https://trac.nginx.org/nginx/ticket/54#comment:3)**
>
> Attached patch should fix this.

Maxim D.

---

<div class="post-metadata">

**Author:** ![stormflake](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ce73a5/32.png) [@stormflake](https://www.ruby-forum.com/u/stormflake)\
**Post date:** [March 30, 2012, 6:34pm UTC](https://www.ruby-forum.com/t/1-0-5-vs-1-0-10/218381/3 "2012-03-30T18:34:16Z")

</div>

thanks!

Posted at Nginx Forum:

> **[Re: 1.0.5 vs 1.0.10](https://forum.nginx.org/read.php?2,224629,224678#msg-224678)**
>
> Hi, I recently copied configuration files that worked correctly in 1.0.5 which no longer work in 1.0.10 I tested using curl: curl -k -H 'X-Forwarded-For: 1.2.3.4' -F data=@1327833493.xml -F username=user -F password=pass https://example.com The...
