![]() If the APP_DEBUG variable is set to true in production, you risk exposing sensitive configuration values to your application's end users. ![]() In your production environment, this value should always be false. ![]() By default, this option is set to respect the value of the APP_DEBUG environment variable, which is stored in your application's. The debug option in your config/app.php configuration file determines how much information about an error is actually displayed to the user. This command precompiles all your Blade views so they are not compiled on demand, improving the performance of each request that returns a view. You should never attempt to move the index.php file to your project's root, as serving the application from the project root will expose many sensitive configuration files to the public Internet: Please ensure, like the configuration below, your web server directs all requests to your application's public/index.php file. If you would like assistance in managing your server, consider using a first-party Laravel server management and deployment service such as Laravel Forge. Most likely, this file will need to be customized depending on your server's configuration. ![]() If you are deploying your application to a server that is running Nginx, you may use the following configuration file as a starting point for configuring your web server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |