🚢
Sail-SSL
Laravel Sail plugin to enable SSL (HTTPS) connection with Nginx.
Install
You need to setup Laravel Sail environment before using the plugin.
With local PHP / Composer:
composer require ryoluo/sail-ssl --dev
php artisan sail-ssl:install
./vendor/bin/sail up
With Sail container:
./vendor/bin/sail up -d
./vendor/bin/sail composer require ryoluo/sail-ssl --dev
./vendor/bin/sail artisan sail-ssl:install
./vendor/bin/sail down
./vendor/bin/sail up
After containers started, you can access https://localhost.
Configure Nginx
./nginx/templates/default.conf.template
will be published.
php artisan sail-ssl:publish
Contribution
Feel free to create a PR!