##// END OF EJS Templates
switch to SSL configuration example on nginx
marcink -
r3243:c759c091 beta
parent child Browse files
Show More
@@ -528,11 +528,21 b' Sample config for nginx using proxy::'
528 528 }
529 529
530 530 server {
531 listen 80;
532 server_name hg.myserver.com;
531 listen 443;
532 server_name rhodecode.myserver.com;
533 533 access_log /var/log/nginx/rhodecode.access.log;
534 534 error_log /var/log/nginx/rhodecode.error.log;
535 535
536 ssl on;
537 ssl_certificate rhodecode.myserver.com.crt;
538 ssl_certificate_key rhodecode.myserver.com.key;
539
540 ssl_session_timeout 5m;
541
542 ssl_protocols SSLv3 TLSv1;
543 ssl_ciphers DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:EDH-RSA-DES-CBC3-SHA:AES256-SHA:DES-CBC3-SHA:AES128-SHA:RC4-SHA:RC4-MD5;
544 ssl_prefer_server_ciphers on;
545
536 546 # uncomment if you have nginx with chunking module compiled
537 547 # fixes the issues of having to put postBuffer data for large git
538 548 # pushes
General Comments 0
You need to be logged in to leave comments. Login now