Please help me
magicbear
nginx-forum at nginx.us
Thu Sep 8 17:36:09 UTC 2011
server {
listen 80;
server_name domain.com www.domain.com;
root /var/www/domain.com;
include /etc/nginx/fastcgi_php;
index index.php index.html;
rewrite ^/admin https://$http_host$request_uri permanent;
}
server {
listen 443 ssl;
ssl_certificate /etc/nginx/ssl/csr.csr;
ssl_certificate_key /etc/nginx/ssl/csr.key;
keepalive_timeout 60;
ssl_protocols SSLv2 SSLv3 TLSv1;
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
ssl_prefer_server_ciphers on;
server_name domain.com www.domain.com;
root /var/www/domain.com;
include /etc/nginx/fastcgi_php;
index index.php index.html;
location / {
rewrite ^/ http://$http_host$request_uri permanent;
}
location ~ ^/admin {
break;
}
}
MagicBear
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,214981,214985#msg-214985
More information about the nginx
mailing list