Skip to content

Add domain and force HTTPS env vars to mail worker #8722

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

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

stnguyen90
Copy link
Contributor

What does this PR do?

The worker uses the env vars

$protocol = System::getEnv('_APP_OPTIONS_FORCE_HTTPS') == 'disabled' ? 'http' : 'https';
$hostname = System::getEnv('_APP_DOMAIN');

So we need to include it in the compose file to ensure the variable passes into the container.

Test Plan

None

Related PRs and Issues

None

Checklist

  • Have you read the Contributing Guidelines on issues?
  • If the PR includes a change to an API's metadata (desc, label, params, etc.), does it also include updated API specs and example docs?

@stnguyen90 stnguyen90 changed the title fix: add domain and force HTTPS env vars to mail worker Add domain and force HTTPS env vars to mail worker Sep 25, 2024
@stnguyen90 stnguyen90 marked this pull request as ready for review September 25, 2024 20:54
Copy link

github-actions bot commented Sep 25, 2024

Security Scan Results for PR

Docker Image Scan Results

🎉 No vulnerabilities found!

Source Code Scan Results

🎉 No vulnerabilities found!

Copy link

github-actions bot commented Sep 25, 2024

✨ Benchmark results

  • Requests per second: 1,409
  • Requests with 200 status code: 253,674
  • P99 latency: 0.080864751

⚡ Benchmark Comparison

Metric This PR Latest version
RPS 1,409 1,677
200 253,674 301,824
P99 0.080864751 0.069039403

The worker uses the env vars so we need to include it in the compose file to ensure the variable passes into the container.
@stnguyen90 stnguyen90 force-pushed the fix-https-mails-worker branch from 6b8961f to 31e03bf Compare September 25, 2024 23:26
@stnguyen90 stnguyen90 requested a review from byawitz September 25, 2024 23:26
@stnguyen90 stnguyen90 merged commit 8eb69eb into 1.6.x Sep 25, 2024
25 checks passed
@stnguyen90 stnguyen90 deleted the fix-https-mails-worker branch September 25, 2024 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy