Skip to content

Commit

Permalink
Nginx template: Improve SSL support
Browse files Browse the repository at this point in the history
  • Loading branch information
zuazo committed Sep 17, 2015
1 parent f08b336 commit 214c57b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/default/nginx_vhost.erb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ server {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$1;
fastcgi_param PATH_INFO $2;
<% if @port.to_s == '443' -%>
<% if @ssl -%>
fastcgi_param HTTPS on;
<% end -%>
fastcgi_pass <%= @fastcgi_pass %>;
Expand Down

0 comments on commit 214c57b

Please sign in to comment.