From 3d51ad585757260f5c924ebf4f4ffe5c01aabcb2 Mon Sep 17 00:00:00 2001 From: Lucas Kanashiro Date: Thu, 14 Jan 2016 12:39:53 -0200 Subject: [PATCH] SISP: make catalog as home page --- cookbooks/reverse_proxy/templates/reverse_proxy.conf.erb | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/cookbooks/reverse_proxy/templates/reverse_proxy.conf.erb b/cookbooks/reverse_proxy/templates/reverse_proxy.conf.erb index 9fb0b7f..4c52694 100644 --- a/cookbooks/reverse_proxy/templates/reverse_proxy.conf.erb +++ b/cookbooks/reverse_proxy/templates/reverse_proxy.conf.erb @@ -67,6 +67,10 @@ server { access_log /var/log/nginx/ssl-<%= node['config']['sisp_external_hostname'] %>.access.log; error_log /var/log/nginx/ssl-<%= node['config']['sisp_external_hostname'] %>.error.log; + location = / { + rewrite ^ /social/search/sisp; + } + # TODO caching location / { proxy_pass http://colab; -- libgit2 0.21.2