Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/updateserver/files/site.conf

Issue 6041976289886208: Issue 402 - Use a redirector script for downloads, not a direct link (Closed)
Patch Set: Created Sept. 9, 2014, 10:41 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | modules/updateserver/files/sitescripts » ('j') | modules/updateserver/files/sitescripts » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/updateserver/files/site.conf
===================================================================
--- a/modules/updateserver/files/site.conf
+++ b/modules/updateserver/files/site.conf
@@ -1,2 +1,12 @@
keepalive_timeout 0;
root /var/www/update;
+
+location /
mathias 2014/09/15 16:15:56 Why is the explicit empty location required?
Wladimir Palant 2014/09/15 16:46:47 That's a very good question. In fact, the official
mathias 2014/09/15 17:26:05 Agreed, leave it as it is. But thank you for the c
+{
+}
+
+location /latest/
+{
+ fastcgi_pass unix:/tmp/multiplexer-fastcgi.sock;
+ include /etc/nginx/fastcgi_params;
+}
« no previous file with comments | « no previous file | modules/updateserver/files/sitescripts » ('j') | modules/updateserver/files/sitescripts » ('J')

Powered by Google App Engine
This is Rietveld