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

Issue 10630004: Make all our applications work with Nginx 1.4.1 (Closed)

Created:
May 22, 2013, 4:47 a.m. by Felix Dahlke
Modified:
Nov. 12, 2013, 10:10 a.m.
Reviewers:
Wladimir Palant
Visibility:
Public.

Description

There were still a couple of issues with Nginx 1.4.1, but now everything works. I have updated the following servers with this: server_1, server_3, server_4, server_10, server_11, server_12. I'll roll it out on the remaining filter servers later today.

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -3 lines) Patch
M modules/discourse/files/intraforum.adblockplus.org View 1 chunk +1 line, -0 lines 0 comments Download
M modules/nagios/templates/site.erb View 3 chunks +3 lines, -0 lines 3 comments Download
M modules/nginx/manifests/init.pp View 1 chunk +3 lines, -3 lines 2 comments Download
M modules/nginx/templates/nginx.conf.erb View 1 chunk +2 lines, -0 lines 1 comment Download

Messages

Total messages: 3
Felix Dahlke
http://codereview.adblockplus.org/10630004/diff/1/modules/nagios/templates/site.erb File modules/nagios/templates/site.erb (right): http://codereview.adblockplus.org/10630004/diff/1/modules/nagios/templates/site.erb#newcode61 modules/nagios/templates/site.erb:61: fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name; This took quite a while to ...
May 22, 2013, 4:50 a.m. (2013-05-22 04:50:28 UTC) #1
Wladimir Palant
LGTM but I would like to see the comments addressed. http://codereview.adblockplus.org/10630004/diff/1/modules/nagios/templates/site.erb File modules/nagios/templates/site.erb (right): http://codereview.adblockplus.org/10630004/diff/1/modules/nagios/templates/site.erb#newcode61 ...
May 22, 2013, 6:22 a.m. (2013-05-22 06:22:31 UTC) #2
Felix Dahlke
May 22, 2013, 6:59 a.m. (2013-05-22 06:59:49 UTC) #3
Issue addressed, closing this.

http://codereview.adblockplus.org/10630004/diff/1/modules/nagios/templates/si...
File modules/nagios/templates/site.erb (right):

http://codereview.adblockplus.org/10630004/diff/1/modules/nagios/templates/si...
modules/nagios/templates/site.erb:61: fastcgi_param SCRIPT_FILENAME
$document_root/$fastcgi_script_name;
On 2013/05/22 06:22:31, Wladimir Palant wrote:
> On 2013/05/22 04:50:28, Felix H. Dahlke wrote:
> > This took quite a while to figure out, any idea what the underlying problem
is
> > and how we can solve it better?
> 
> This is actually the proper solution, FastCGI doesn't assume that the scripts
> are really located under the HTTP root - and in case of our Anwiki install for
> example they aren't. You don't need the slash however, it's
> $document_root$fastcgi_script_name. Please change the location block above
> similarly - set SCRIPT_FILENAME via $document_root there as well.

Done. Don't really get why this wasn't necessary with Nginx 1.1.9 though.
Thought there may have been some global setting making script files default to
$documentroot.

http://codereview.adblockplus.org/10630004/diff/1/modules/nginx/manifests/ini...
File modules/nginx/manifests/init.pp (right):

http://codereview.adblockplus.org/10630004/diff/1/modules/nginx/manifests/ini...
modules/nginx/manifests/init.pp:19: before => Package['nginx']
On 2013/05/22 06:22:31, Wladimir Palant wrote:
> Will this uninstall nginx-full as well?

Yes. I tried to purge nginx-full originally, but that resulted in dependency
issues.

Powered by Google App Engine
This is Rietveld