Skip to content

feat: add TLS support to API/UI service#1414

Open
fabiovincenzi wants to merge 9 commits intofinos:mainfrom
fabiovincenzi:feat/tls-ui-api-server
Open

feat: add TLS support to API/UI service#1414
fabiovincenzi wants to merge 9 commits intofinos:mainfrom
fabiovincenzi:feat/tls-ui-api-server

Conversation

@fabiovincenzi
Copy link
Contributor

Fixes #1408
Add HTTPS on port 8444 (configurable via GIT_PROXY_HTTPS_UI_PORT) to the API/UI service, using the existing tls.enabled/key/cert config fields already used by the proxy. HTTP and HTTPS run in parallel.

@fabiovincenzi fabiovincenzi requested a review from a team as a code owner February 23, 2026 10:56
@netlify
Copy link

netlify bot commented Feb 23, 2026

Deploy Preview for endearing-brigadeiros-63f9d0 canceled.

Name Link
🔨 Latest commit 604b939
🔍 Latest deploy log https://app.netlify.com/projects/endearing-brigadeiros-63f9d0/deploys/69aa987b8f82b00008e9af36

@codecov
Copy link

codecov bot commented Feb 23, 2026

Codecov Report

❌ Patch coverage is 90.32258% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.09%. Comparing base (ac353de) to head (604b939).

Files with missing lines Patch % Lines
src/service/index.ts 90.00% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1414      +/-   ##
==========================================
+ Coverage   90.01%   90.09%   +0.07%     
==========================================
  Files          67       67              
  Lines        4769     4816      +47     
  Branches      885      897      +12     
==========================================
+ Hits         4293     4339      +46     
  Misses        458      458              
- Partials       18       19       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@jescalada jescalada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code-wise LGTM, might want another look from @kriswest to make sure.

cert:
config.getTLSEnabled() && config.getTLSCertPemPath()
? fs.readFileSync(config.getTLSCertPemPath()!)
: undefined,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it okay to reuse the proxy TLS credentials for the service and UI or should these be separate configurable parameters 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable TLS for UI and API

2 participants