-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Adds http.Server options as configuration server.options #7324
Conversation
🦋 Changeset detectedLatest commit: 53cfba5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/keystonejs/keystone-next-docs/7LznGhntbm11h22rDxvtyai2HTHo |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 53cfba5:
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
d120c63
to
1169781
Compare
Deployment failed with the following error:
|
5f052d5
to
53cfba5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want to note that this makes process.env.PORT
preferred over config.server.port
which I agree makes more sense though you could argue that it's breaking but as long as you're aware of that and think that's fine then I'm ok with it.
I think the previous behaviour is indicative of broken unexpected behaviour, and I'm happy to fix that as a |
This pull request adds the
http.Server
options as an configuration optionserver.options
for your Keystone configuration.This will enable developers to configuration things like the
host
interface, or to bind the server to an existingfd
descriptor (like if you are using systemd'sLISTEN_FDS
).