[Feature] Suggestion #8

Closed
opened 2025-12-29 14:22:24 +01:00 by adam · 1 comment
Owner

Originally created by @zQueal on GitHub (Sep 16, 2024).

For provider files, not supplying a host or scheme should default to 127.0.0.1. Most people are going to be running this on a local webserver to direct proxy traffic, so you can remove a lot of unnecessary config entries by defaulting to localhost if a host: isn't provided.

Turns this;

domain.tld:
  host: 127.0.0.1
  port: 80
subdomain:
  host: 127.0.0.1
  port: 44118
subdomain2:
  host: 127.0.0.1
  port: 48512

Into this;

domain.tld:
  port: 80
subdomain:
  port: 44118
subdomain2:
  port: 48512

Simple change, but nice default.

Originally created by @zQueal on GitHub (Sep 16, 2024). For provider files, not supplying a host or scheme should default to `127.0.0.1`. Most people are going to be running this on a local webserver to direct proxy traffic, so you can remove a lot of unnecessary config entries by defaulting to localhost if a `host:` isn't provided. Turns this; ```yml domain.tld: host: 127.0.0.1 port: 80 subdomain: host: 127.0.0.1 port: 44118 subdomain2: host: 127.0.0.1 port: 48512 ``` Into this; ```yml domain.tld: port: 80 subdomain: port: 44118 subdomain2: port: 48512 ``` Simple change, but nice default.
adam closed this issue 2025-12-29 14:22:24 +01:00
Author
Owner

@yusing commented on GitHub (Sep 16, 2024):

Nice idea, I'll make it happen for v0.5, v0.4 will no longer be maintained. I'm doing some final testing, expect v0.5-rc1 will come in a few hours.

@yusing commented on GitHub (Sep 16, 2024): Nice idea, I'll make it happen for v0.5, v0.4 will no longer be maintained. I'm doing some final testing, expect v0.5-rc1 will come in a few hours.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/godoxy-yusing#8