Skip to content
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

Improve SSL certificate handling #18

Merged
merged 5 commits into from
Aug 4, 2022
Merged

Improve SSL certificate handling #18

merged 5 commits into from
Aug 4, 2022

Conversation

alwaysblank
Copy link
Contributor

@alwaysblank alwaysblank commented Aug 3, 2022

This is meant to allow local-vip to automatically generate certificates like local-server. Specifically, it brings in the changes in these PRs:

...and makes a few other tweaks to address the slightly more limited local VIP use case. Most notably, it makes some more restrictive assumptions about domains and TLDs, defaulting to using the domain/TLD without a subdomain as the primary site, and not allowing for multiple domains in the way local-server does—in other words it's only really meant to run one VIP domain at a time, and you'd need to destroy and rebuild the proxy to run a different one.

This will resolve #16.

These files are generated several directories above the proxy.yml file.
I'm not wild about this kind of relative path, but all of this happens
in `vendor` which users shouldn't be messing around in. If you've
deleted the `vendor` dir then you probably don't want these anyway.
@alwaysblank alwaysblank changed the base branch from main to composer-2 August 3, 2022 01:01
@alwaysblank alwaysblank changed the title 16 improve ssl Improve SSL certificate handling Aug 3, 2022
@alwaysblank alwaysblank marked this pull request as ready for review August 3, 2022 16:22
Copy link
Contributor

@smccafferty smccafferty left a comment

Choose a reason for hiding this comment

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

I have not tested this but code wise, looks good.

@alwaysblank alwaysblank merged commit 7f58288 into composer-2 Aug 4, 2022
@alwaysblank alwaysblank deleted the 16-improve-ssl branch August 4, 2022 15:44
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.

2 participants