Page MenuHomeDevCentral

Avoid duplicate proxy_redirect nginx directive
ClosedPublic

Authored by DorianWinty on Mar 5 2023, 18:37.
Tags
None
Referenced Files
F7734872: D2842.diff
Thu, May 1, 22:49
F7732391: D2842.diff
Thu, May 1, 21:20
Unknown Object (File)
Tue, Apr 29, 05:12
Unknown Object (File)
Tue, Apr 29, 01:54
Unknown Object (File)
Tue, Apr 29, 01:53
Unknown Object (File)
Mon, Apr 28, 10:10
Unknown Object (File)
Sun, Apr 27, 08:00
Unknown Object (File)
Sun, Apr 27, 06:54
Subscribers
None

Details

Summary

Previously, nginx accepted two values for proxy_redirect.

In more recent version, this is a fatal error.

Move the directive into each location proxy block.

Test Plan

Tested on Dwellers.

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

DorianWinty created this revision.
dereckson retitled this revision from Avoid duplicate proxy_redirect off to Avoid duplicate proxy_redirect nginx directive.
dereckson edited the summary of this revision. (Show Details)
dereckson edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Mar 5 2023, 18:56