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

Ngrok default param for apache share #1892

Merged
merged 2 commits into from
Oct 6, 2023
Merged

Ngrok default param for apache share #1892

merged 2 commits into from
Oct 6, 2023

Conversation

ALameLlama
Copy link
Contributor

It looks like trying to share an apache site won't work without adding this param.

--host-header=rewrite

From what I've tested this has no effect on nginx but will fix it working for apache so defaulting this won't have any negative effects and will work for both.

I've also included an alias for share over port 443 as well sshare (secure share) but if you're not happy with this I can remove it.

Copy link
Contributor

@svpernova09 svpernova09 left a comment

Choose a reason for hiding this comment

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

Seems safe as long as users avoid https://manpages.ubuntu.com/manpages/focal/man1/sshare.1.html :D

Thanks

@svpernova09 svpernova09 merged commit 5e3b2ef into laravel:main Oct 6, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants