Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated passenger to remove ssl apache

  • Loading branch information...
commit 3eaa6007eecaac3099066b25ed3819d54454e1f5 1 parent 717b3b4
@karlbright karlbright authored
View
16 config/rubber/role/passenger/passenger-apache-vhost.conf
@@ -3,7 +3,7 @@
@post = "a2enmod rewrite && a2enmod ssl && a2enmod expires && a2enmod xsendfile && a2ensite #{rubber_env.app_name}-passenger"
%>
-<% [rubber_env.passenger_listen_port, rubber_env.passenger_listen_ssl_port].each do |port| %>
+<% [rubber_env.passenger_listen_port].each do |port| %>
Listen <%= port %>
<VirtualHost *:<%= port %>>
@@ -68,20 +68,6 @@ Listen <%= port %>
Header set Content-Encoding gzip
</FilesMatch>
<% end %>
-
- <% if port == rubber_env.passenger_listen_ssl_port %>
- SSLEngine on
- SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
- SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
- SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
- # SSLCertificateFile <%= Rubber.root %>/config/<%= rubber_env.domain %>.crt
- # SSLCertificateKeyFile <%= Rubber.root %>/config/<%= rubber_env.domain %>.key
- # SSLCertificateChainFile /etc/ssl/certs/gd_intermediate_bundle.crt
-
- SSLHonorCipherOrder On
- SSLCipherSuite ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM
- <% end %>
-
</VirtualHost>
<% end %>
View
3  config/rubber/rubber-passenger.yml
@@ -2,8 +2,7 @@ passenger_version: 3.0.12
passenger_root: "#{rvm_gem_home}/gems/passenger-#{passenger_version}"
passenger_ruby: "#{rvm_prefix}/wrappers/#{`bash -l -c 'rvm strings #{rvm_ruby}'`.strip}/ruby"
passenger_lib: "#{passenger_root}/ext/apache2/mod_passenger.so"
-passenger_listen_port: 7000
-passenger_listen_ssl_port: 7001
+passenger_listen_port: 80
max_app_connections: 20
role_dependencies:
Please sign in to comment.
Something went wrong with that request. Please try again.