Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: skfe/sys/skia_org_nginx

Issue 1346433002: Add codesearch.skia.org and cs.skia.org as redirects to Chromium code search. (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Remove codesearch.skia.org. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skfe/sys/skia_org_nginx
diff --git a/skfe/sys/skia_org_nginx b/skfe/sys/skia_org_nginx
index 10892bb2952fe2c059905cc7997df51e93fc548d..640aa1173356fdcd2eb727ab8c6dbba7ed0e4281 100644
--- a/skfe/sys/skia_org_nginx
+++ b/skfe/sys/skia_org_nginx
@@ -423,3 +423,25 @@ server {
server_name bugchomper.skia.org;
return 301 https://bugchomper.skia.org$request_uri;
}
+
+##### cs.skia.org (REDIRECT) ###########################
+server {
+ listen 443;
+
+ ssl on;
+
+ access_log /var/log/nginx/cs.access.log;
+ error_log /var/log/nginx/cs.error.log error;
+
+ server_name cs.skia.org;
+ rewrite ^/(.*)$ https://code.google.com/p/chromium/codesearch#search/&q=$1%20file:%5Esrc/third_party/skia/ redirect;
+ rewrite ^ https://code.google.com/p/chromium/codesearch#chromium/src/third_party/skia/ redirect;
+}
+
+server {
+ listen 80;
+ server_name cs.skia.org;
+ rewrite ^/(.*)$ https://code.google.com/p/chromium/codesearch#search/&q=$1%20file:%5Esrc/third_party/skia/ redirect;
+ rewrite ^ https://code.google.com/p/chromium/codesearch#chromium/src/third_party/skia/ redirect;
+}
+
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698