Skip to content

nginx:grunt: move add_header to location block, add always#59

Merged
Krinkle merged 1 commit intojquery:stagingfrom
timmywil:grunt
Aug 26, 2024
Merged

nginx:grunt: move add_header to location block, add always#59
Krinkle merged 1 commit intojquery:stagingfrom
timmywil:grunt

Conversation

@timmywil
Copy link
Copy Markdown
Member

@timmywil timmywil commented Aug 25, 2024

The grunt site is unique in that it uses proxy_pass. Setting the header in the same location block as proxy_pass should fix it from what I've been reading. Also, I've added "always", which will send the header along even for error responses.

Ref #54.

@timmywil timmywil requested a review from Krinkle August 25, 2024 00:28
@Krinkle Krinkle merged commit 478b9e8 into jquery:staging Aug 26, 2024
@timmywil timmywil deleted the grunt branch August 27, 2024 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants