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

Issue 4808447505727488: Issue 2301 - Improve beta.adblockplus.org configuration (Closed)

Created:
April 15, 2015, 12:20 p.m. by Wladimir Palant
Modified:
May 4, 2015, 2:07 p.m.
Reviewers:
mathias
Visibility:
Public.

Description

Issue 2301 - Improve beta.adblockplus.org configuration

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+296 lines, -54 lines) Patch
M manifests/webserver.pp View 1 chunk +44 lines, -2 lines 0 comments Download
A modules/web/templates/adblockplus.org.conf.erb View 1 chunk +220 lines, -0 lines 1 comment Download
M modules/web/templates/site.conf.erb View 1 chunk +32 lines, -52 lines 1 comment Download

Messages

Total messages: 6
Wladimir Palant
April 15, 2015, 12:20 p.m. (2015-04-15 12:20:14 UTC) #1
Wladimir Palant
http://codereview.adblockplus.org/4808447505727488/diff/5629499534213120/modules/web/templates/site.conf.erb File modules/web/templates/site.conf.erb (right): http://codereview.adblockplus.org/4808447505727488/diff/5629499534213120/modules/web/templates/site.conf.erb#newcode16 modules/web/templates/site.conf.erb:16: # Match Accept-Language header against available languages This comments ...
April 15, 2015, 12:23 p.m. (2015-04-15 12:23:28 UTC) #2
Wladimir Palant
http://codereview.adblockplus.org/4808447505727488/diff/5629499534213120/modules/web/templates/adblockplus.org.conf.erb File modules/web/templates/adblockplus.org.conf.erb (right): http://codereview.adblockplus.org/4808447505727488/diff/5629499534213120/modules/web/templates/adblockplus.org.conf.erb#newcode175 modules/web/templates/adblockplus.org.conf.erb:175: rewrite ^ https://share.adblockplus.org/$lang/? redirect; While this works right now, ...
April 15, 2015, 12:26 p.m. (2015-04-15 12:26:54 UTC) #3
mathias
In my opinion, there is way too much stuff done in the Nginx config that ...
April 16, 2015, 9:15 a.m. (2015-04-16 09:15:49 UTC) #4
Wladimir Palant
On 2015/04/16 09:15:49, matze wrote: > that would > be better placed inside application logic. ...
April 16, 2015, 11:58 a.m. (2015-04-16 11:58:55 UTC) #5
mathias
April 16, 2015, 12:04 p.m. (2015-04-16 12:04:44 UTC) #6
LGTM.

On 2015/04/16 11:58:55, Wladimir Palant wrote:
> On 2015/04/16 09:15:49, matze wrote:
> > that would
> > be better placed inside application logic.
> 
> What application? We are dealing with static files here.

Still I prefer to avoid interpreting e.g. user-agents in server configurations
for any purpose other than security-related ones. But as I wrote before, I will
not make this a topic here. And since I am very aware that this boils down
primarily to personal preference, I will probably never make it a topic for
static content anyway.

> > To make a long story short; it looks good for me for now -assuming the
changes
> > you've announced yourself are in the patch-set.
> 
> They are, this config is actually significantly simpler than the one currently
> on server16.

Agreed.

Powered by Google App Engine
This is Rietveld