It works without any problems in nginx for me, without any spefic extra configuration.
My server config looks like this:
server {
root /var/www/xxxx/htdocs;
index index.php index.html index.htm;
access_log /var/www/xxxx/logs/access.log;
error_log /var/www/xxxx/logs/error.log;
server_name xxxx www.xxxx;
location / {
try_files $uri $uri/ =404;
}
location ~ \.php$ {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
}
location = /favicon.ico {
log_not_found off;
access_log off;
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
}
server {
listen 127.0.0.1:4433 ssl;
### SSL ###
ssl on;
ssl_certificate xxxx;
ssl_certificate_key xxxx;
ssl_session_timeout 5m;
ssl_protocols SSLv3 TLSv1;
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP;
ssl_prefer_server_ciphers on;
root /var/www/xxxx/htdocs;
index index.php index.html index.htm;
access_log /var/www/xxxx/logs/access.log;
error_log /var/www/xxxx/logs/error.log;
server_name xxxx www.xxxx;
location / {
try_files $uri $uri/ =404;
}
location ~ \.php$ {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
}
location = /favicon.ico {
log_not_found off;
access_log off;
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
}
Note: xxxx need to be edited, second block (ssl) may not work for you