Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of github.com:CPAN-API/search-metacpan-org

Conflicts:
	conf/nginx.conf
  • Loading branch information...
commit b0c35a8699b07f63e7de70e77e1d9e7e5448fb5a 2 parents 0590de7 + 02f708a
@oalders oalders authored
Showing with 9 additions and 5 deletions.
  1. +5 −3 conf/nginx.conf
  2. +4 −2 htdocs/index.html
View
8 conf/nginx.conf
@@ -43,8 +43,10 @@ server {
server {
- server_name search.metacpan.org
-
-
+ server_name search.metacpan.org;
+
+ location / {
+ rewrite /(.*) https://metacpan.org/$1 break;
+ }
}
View
6 htdocs/index.html
@@ -21,7 +21,7 @@
<body>
<div id="main_container">
- <a href="http://search.metacpan.org"><img src="/images/metacpan_logo.png" alt="metacpan" style="position: absolute; left: 0px; width: 113px; height: 64px; border: none;" /></a>
+ <a href="http://js.metacpan.org"><img src="/images/metacpan_logo.png" alt="metacpan" style="position: absolute; left: 0px; width: 113px; height: 64px; border: none;" /></a>
<div id="search_box"></div>
<!--<div id="system_message" style="font-weight: bold; text-align: center; margin: 25px 0; display: block;">The module index will be offline today while we do some maintainance and re-index.</div>-->
<div id="home" class="metacpanView"></div>
@@ -365,7 +365,9 @@
</script>
- <noscript><div><img src="http://www.wundercounter.com/cgi-bin/stats/image.cgi?WUNVERSION=2.0&amp;user=ioncache&amp;page=search.metacpan.org&amp;digits=0" width="1" height="1" alt=" " /></div>
+ <noscript><div>
+ <h1>Please use <a href="http://metacpan.org/">http://metacpan.org/</a>.</h1>
+ <img src="http://www.wundercounter.com/cgi-bin/stats/image.cgi?WUNVERSION=2.0&amp;user=ioncache&amp;page=search.metacpan.org&amp;digits=0" width="1" height="1" alt=" " /></div>
</noscript>
<!-- end wundercounter.com code http://www.wundercounter.com/?refID=ioncache -->
<script type="text/javascript">
Please sign in to comment.
Something went wrong with that request. Please try again.