Download the PHP package ryoluo/sail-ssl without Composer
On this page you can find all versions of the php package ryoluo/sail-ssl. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package sail-ssl
🚢 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:
With Sail container:
After containers started, you can access https://localhost.
Environment variables
SERVER_NAME
- Determine
server_name
directive in nginx.conf - Default:
localhost
- Determine
APP_SERVICE
- Specify Laravel container name in docker-compose.yml
- Default:
laravel.test
HTTP_PORT
- Port to forward Nginx HTTP port
- By default, request for this port would redirect to
SSL_PORT
- Default:
8000
SSL_PORT
- Port to forward Nginx HTTPS port
- Default:
443
SSL_DOMAIN
- The Common Name to use in the SSL certificate, e.g.
SSL_DOMAIN=*.mydomain.test
- Required to generate a valid certificate for a domain other than
localhost
- Default:
localhost
- The Common Name to use in the SSL certificate, e.g.
SSL_ALT_NAME
- The Subject Alternative Name to use in the SSL certificate, e.g.
SSL_ALT_NAME=DNS:localhost,DNS:mydomain.test
- Required to generate a valid certificate for a domain other than
localhost
- Default:
DNS:localhost
- The Subject Alternative Name to use in the SSL certificate, e.g.
Configure Nginx
./nginx/templates/default.conf.template
will be published.
Contribution
Feel free to create a PR!
All versions of sail-ssl with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.3|^8.0|^8.1|^8.2|^8.3
illuminate/console Version ^8.0|^9.0|^10.0|^11.0
illuminate/contracts Version ^8.0|^9.0|^10.0|^11.0
illuminate/support Version ^8.0|^9.0|^10.0|^11.0
illuminate/console Version ^8.0|^9.0|^10.0|^11.0
illuminate/contracts Version ^8.0|^9.0|^10.0|^11.0
illuminate/support Version ^8.0|^9.0|^10.0|^11.0
The package ryoluo/sail-ssl contains the following files
Loading the files please wait ....