5
0
Derivar 0
module-nginx/templates/vhost/vhost_footer.erb
2012-09-01 18:52:55 +03:00

9 linhas
237 B
Text

}
<% if rewrite_www_to_non_www %>
server {
listen <%= listen_ip %>;
server_name www.<%= name.gsub(/^www\./, '') %>;
rewrite ^ http://<%= name.gsub(/^www\./, '') %>$uri permanent;
}
<% end %>