- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
runserver should be able to serve https #3102
Comments
|
Instead of directly using PHP's built in web server, could you consider using https://github.com/mpyw/php-hyper-builtin-server instead? That supports all that PHP's built in supports but also HTTPS. |
I think it's out of scope for Drush to bundle a webserver. @weitzman can reopen if he disagrees. A better workaround would be for test suites that need https to install a separate webserver. |
I agree. We have had runserver for many years and this is the first feature request for https. Folks are solving this elsewhere, as Greg suggests. |
With the increasing use of https, it would be very helpful if
drush runserver
could start an https server instead of a plain http server is an option indicating as such is provided.I suggest that an
--https
option be added to the already documented options (https://drushcommands.com/drush-8x/runserver/runserver/).This change would allow for improved testing (such as if the project requires https for some functionality being tested, ex HTML5 Geolocation).
Originally discovered by acquia/blt#2188
The text was updated successfully, but these errors were encountered: