Skip to content

Conversation

@eiman-eltigani-ttd
Copy link
Contributor

@eiman-eltigani-ttd eiman-eltigani-ttd commented Dec 11, 2025

To ensure nginx reverse-proxy works locally, I had to add all certificates/https infrastructure so that local operator would accept requests from the new sample-dev.com origin. I followed the example in uid2-web-integrations/localtest setup.md which required

  • new package that creates local certificates (mkcert)
  • siteDetails.js --> lists all domains to be included in the certificate
  • createCA.ts --> script that creates certificate and assigns it to all the sites above

- Add mkcert-based certificate generation (createCA.ts, siteDetails.js)
- Update reverse-proxy to support HTTPS on port 443
- Update docker-compose.yml to mount certificates
- Add comprehensive README with setup instructions
- Update .gitignore to exclude ca/ folder
Infrastructure for the deferred site remains in place:
- docker-compose.yml service definition
- nginx reverse-proxy config
- README documentation
@eiman-eltigani-ttd eiman-eltigani-ttd marked this pull request as ready for review December 11, 2025 18:40
Comment on lines +121 to +129
prebid-client-side-deferred:
build:
context: web-integrations/prebid-integrations
dockerfile: client-side-deferred/Dockerfile
ports:
- "3053:3053"
container_name: prebid-client-side-deferred
env_file:
- .env
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I accidentally included this from my prebid-deferred site ticket but keeping just to keep the infrastructure correct (along with other prebid-deferred references you may see)

@ashleysmithTTD
Copy link
Contributor

I would recommend adding target=__blank to the default.conf.template file for the sites so that clicking on them automatically opens the site in a new tab, since this is a landing page

@ssundahlTTD ssundahlTTD merged commit d373f8d into main Dec 12, 2025
2 checks passed
@ssundahlTTD ssundahlTTD deleted the eee-UID2-6348-fix-reverse-proxy-sample-sites-locally branch December 12, 2025 22:22
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.

4 participants