Skip to content
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

feat: add random port option to global http #644

Merged
merged 1 commit into from Nov 6, 2023

Conversation

laojianzi
Copy link
Contributor

Proposed Changes:

I don't want loggie to fail to start on hosts that use a large number of random ports due to fixed port assignments.

Additional documentation:

```yaml
http:
  enabled: true
  host: "0.0.0.0"
  port: 9196
  randPort: true
```
field type required default description
enabled bool false false whether to enable http
host string false 0.0.0.0 http listening host
port int false 9196 http listening port, If 'randPort' is enabled, this configuration will be ignored
randPort bool false false http listening random port

@ethfoo ethfoo merged commit 76fe3f4 into loggie-io:main Nov 6, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants