Welcome! Log In Create A New Profile

Advanced

Re: Please help me

September 08, 2011 01:36PM
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
Subject Author Posted

Please help me

Giang September 08, 2011 10:20AM

Re: Please help me

magicbear September 08, 2011 01:36PM

Re: Please help me

Giang October 05, 2011 08:52AM

Re: Please help me

Igor Sysoev October 05, 2011 09:38AM

Re: Please help me

Giang October 11, 2011 08:20AM

Re: Please help me

Igor Sysoev October 05, 2011 09:38AM

Re: Please help me

Igor Sysoev October 05, 2011 09:38AM

Re: Please help me

Samael October 05, 2011 09:41AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 63
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready