# Nginx + RoundCubeMail + SSL?

**URL:** <https://www.ruby-forum.com/t/nginx-roundcubemail-ssl/213447>\
**Category:** NGINX\
**Created:** [November 2, 2011, 3:00pm UTC](https://www.ruby-forum.com/t/nginx-roundcubemail-ssl/213447 "2011-11-02T15:00:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [November 2, 2011, 3:00pm UTC](https://www.ruby-forum.com/t/nginx-roundcubemail-ssl/213447/1 "2011-11-02T15:00:10Z")

</div>

People,

Does anyone have a working setup with this combination? If so, could I  
see the nginx.conf (ssl.conf) file? (I have tried all sorts of Google  
solutions with no success).

Thanks,

## Phil.

Philip R.

GPO Box 3411  
Sydney NSW 2001  
Australia  
E-mail: removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![unebaguettesvp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/47e85d/32.png) [@unebaguettesvp](https://www.ruby-forum.com/u/unebaguettesvp)\
**Post date:** [November 2, 2011, 8:11pm UTC](https://www.ruby-forum.com/t/nginx-roundcubemail-ssl/213447/2 "2011-11-02T20:11:01Z")

</div>

Hi Philip,

On 02.11.2011 14:59, Philip R. wrote:

> People,
> 
> Does anyone have a working setup with this combination? If so, could  
> I see the nginx.conf (ssl.conf) file? (I have tried all sorts of  
> Google solutions with no success).

What’s the problem.

it’s pretty straight forward.

1.) php setup

### 

```
     location ~ \.php {
         include fastcgi_params;
         fastcgi_split_path_info ^(.+\.php)(.*)$;
         fastcgi_pass php; # => upstream php { ... }
         fastcgi_index index.php;
         fastcgi_param SCRIPT_FILENAME

```

/installed$fastcgi\_script\_name;  
fastcgi\_param PATH\_INFO $fastcgi\_path\_info;  
fastcgi\_param PATH\_TRANSLATED  
$document\_root$fastcgi\_path\_info;  
}

### 

2.) location setup.

### 

location /roundcube{  
alias /installed/roundcube;  
index index.php;  
try\_files $uri $uri/ index.php;  
}

### 

BR  
Aleks
