edgee-cloud / edgee

The full-stack edge platform for your edge oriented applications.
https://www.edgee.cloud
Apache License 2.0
32 stars 5 forks source link

Either HTTP or HTTPS is mandatory, but not both #35

Closed SachaMorard closed 6 days ago

SachaMorard commented 1 week ago

Is your feature request related to a problem? Please describe.

Edgee currently requires HTTP AND HTTPS configurations. Instead, a user must be able to configure Edgee to receive traffic only in HTTP, only in HTTPS, or both.

Describe the solution you'd like

Change the configuration to allow it Change the entrypoint::start() method to launch either web::start() and/or websecure::start()

spantheslayer commented 1 week ago

Picked up this issue and working on it. As a first impression of the codebase what I understand is that the src/entrypoint/web.rs corresponds to HTTP and src/entrypoint/websecure.rs corresponds to HTTPS.

Please correct me if I am wrong.

SachaMorard commented 1 week ago

Picked up this issue and working on it. As a first impression of the codebase what I understand is that the src/entrypoint/web.rs corresponds to HTTP and src/entrypoint/websecure.rs corresponds to HTTPS.

Please correct me if I am wrong.

Yeah, you're right!