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; |
+} |
+ |