Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- listen 443 ssl;
- server_name abc.com alias abc.com;
- ssl_certificate D:cert1_abc.com_bundle.crt;
- ssl_certificate_key D:certabc.com.key;
- ssl_session_timeout 5m;
- ssl_protocols SSLv2 SSLv3 TLSv1;
- ssl_ciphers HIGH:!aNULL:!MD5;
- ssl_prefer_server_ciphers on;
- if ($scheme = http) && if ($http_user_agent !~* iPhone|iPad) {
- return 301 https://$host$request_uri;
- }
- location / {
- root D:/www;
- index index.html index.htm default.html default.htm index.php;
- include D:/www/up-*.conf;
- }
- if ($scheme = http && $http_user_agent !~* iPhone|iPad)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement