-
-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added x-forwarded-host
as precedence over host
header
#1999
Added x-forwarded-host
as precedence over host
header
#1999
Conversation
x-forwarded-host
as precedence over host
headerx-forwarded-host
as precedence over host
header
Ready for review ;-) |
Handler Size Report
Base Handler Sizes (kB) (commit af344fd){
"Lambda": {
"Default Lambda": {
"Standard": 1519,
"Minified": 666
},
"Image Lambda": {
"Standard": 1485,
"Minified": 801
}
},
"Lambda@Edge": {
"Default Lambda": {
"Standard": 1529,
"Minified": 672
},
"Default Lambda V2": {
"Standard": 1521,
"Minified": 668
},
"API Lambda": {
"Standard": 632,
"Minified": 318
},
"Image Lambda": {
"Standard": 1493,
"Minified": 805
},
"Regeneration Lambda": {
"Standard": 1183,
"Minified": 544
},
"Regeneration Lambda V2": {
"Standard": 1251,
"Minified": 571
}
}
} New Handler Sizes (kB) (commit d9340ae){
"Lambda": {
"Default Lambda": {
"Standard": 1520,
"Minified": 666
},
"Image Lambda": {
"Standard": 1485,
"Minified": 801
}
},
"Lambda@Edge": {
"Default Lambda": {
"Standard": 1530,
"Minified": 672
},
"Default Lambda V2": {
"Standard": 1522,
"Minified": 669
},
"API Lambda": {
"Standard": 633,
"Minified": 318
},
"Image Lambda": {
"Standard": 1493,
"Minified": 805
},
"Regeneration Lambda": {
"Standard": 1183,
"Minified": 544
},
"Regeneration Lambda V2": {
"Standard": 1251,
"Minified": 571
}
}
} |
Codecov Report
@@ Coverage Diff @@
## master #1999 +/- ##
==========================================
+ Coverage 83.79% 83.83% +0.04%
==========================================
Files 102 102
Lines 3628 3638 +10
Branches 1138 1141 +3
==========================================
+ Hits 3040 3050 +10
Misses 577 577
Partials 11 11
Continue to review full report at Codecov.
|
Hm, this looks fine but seems to have broken the e2e tests: https://github.com/serverless-nextjs/serverless-next.js/runs/4101421933?check_suite_focus=true. Haven't had a chance to investigate but if you could try to deploy to the |
Hey @dphang I am trying to figure out what is going on with the |
Ok, I managed to run it (by following instructions on CONTRIBUTING.md 😅)) and still not sure what is the issue...I rolled back the changes to current :/ |
@mathvbarone thanks for taking a look. I will try to take a look myself (probably need to look into the actual lambda logs for the e2e tests to see what's going on) |
Hi I've pulled the remote main branch again. Anything pending on us in the PR? Thanks, |
Hm seems the previous issue with E2E tests was transient, it succeeded now. Will merge and publish later after master is green |
As started to support at #1641
This PR added the precedence for
x-forwarded-host
when running behind a reverse proxy.