Manage your servers with freedom and control. Learn more about the new Forge
Blog /

Product

Product November 5, 2020

Forge: Nginx Templates

Today we're excited to introduce a new feature to [Laravel Forge](https://forge.laravel.com) called **Nginx Templates**. These templates allow you to define your own base Nginx configuration files that can be used when creating your sites. You may have found yourself needing to make manual adjustments to a Forge site's Nginx configuration file. If you do this often, Forge's Nginx Templates can save you a lot of time. You can use these templates for anything from making small, common adjustments, to powering completely different types of applications such as those written other frameworks or languages. You may create a template via the "Nginx Templates" tab on your server's management screen: ![](https://laravel-blog-assets.s3.amazonaws.com/70C3WFMpjvt6hkAva6j9Y36mteZ5jofGtBBkUoyy.png)When creating a new site, you will have the option to select any of that server's available templates to use, or you may choose to use Forge's default Nginx template: ![](https://laravel-blog-assets.s3.amazonaws.com/8LP9VHo9PXakfLlGjGXCIy7FU5HvIvJIgUhpdUoP.png)You can read more about Nginx templates and the variables accessible to templates on the [documentation page](https://forge.laravel.com/docs/1.0/servers/nginx-templates.html). Nginx templates are available to all Forge plans. We hope that you enjoy this new feature! If you don’t have a [Forge](https://forge.laravel.com) account, now is a great time to sign up. Forge allows you to painlessly create and manage PHP servers which include MySQL, Redis, Memcached, database backups, and everything else you need to run robust, modern Laravel applications.

James Brooks

Product November 4, 2020

Introducing The Envoyer API

Today we're excited to release our API for [Envoyer](https://envoyer.io)! You can create new API tokens from your Envoyer [account page](https://envoyer.io/user/profile#/api). Each token can be scoped to provide limited access to your data. ![](https://laravel-blog-assets.s3.amazonaws.com/A6bydDSK9OZWJUwQfeJqnLsDzu39GKcxDqo6ymxO.png)We're excited to continue improving the API and seeing what you build. Please give us your feedback! You can learn more about the Envoyer API by reading our official [documentation](https://envoyer.io/api-documentation).

James Brooks

Product October 26, 2020

Forge: Upgrading To Composer 2.0

Following the release of Composer 2 on October 24th, we wanted to share a guide on how to upgrade your servers to make the most of all the great benefits it brings. First, all new servers will automatically receive Composer 2 by default. For existing servers, you should **delete and recreate** (if desired) the scheduled job within your Forge dashboard that updates your Composer installation every week. By default, Forge created this job with the` --1` flag, which instructs Composer to not upgrade to 2.0. After you have deleted the scheduled task, you may recreate it without the `--1` flag. Next, you have two options: 1. SSH into each of your servers and manually upgrade Composer. 2. Create a recipe and run it against each of your servers. For those of you with just a few servers, connecting to the server and manually running the upgrade command is likely sufficient; however, if you have multiple servers that need upgrading, you can save yourself time by creating a recipe. To upgrade, the following command should be executed: ``` composer self-update --2 ``` This will instruct Composer to update itself and specifically select version 2. And that’s it, we’re done! If your application is not compatible with Composer 2, you can roll back to Composer 1 at any time: ``` composer self-update --1 ``` ---

James Brooks

Product October 20, 2020

Forge: Enabling TLS 1.3

As of today, newly issued LetsEncrypt certificates on Laravel Forge servers that run on Ubuntu 20.04 have TLS 1.3 enabled by default. TLS 1.3 offers a faster handshake and more secure cipher suites. If you have an existing LetsEncrypt certificate, you will need to issue a new one and activate it in order to receive the upgrade to TLS 1.3.

Mohamed Said

Product October 14, 2020

Vapor: RDS Proxies Now Available

Starting today, the Vapor UI allows you to create an RDS proxy to efficiently manage your database connections and allow many more connections than would typically be possible.

Nuno Maduro

Product October 7, 2020

Forge: Self-Hosted GitLab Support

Forge has always supported using a custom Git provider for your projects, but starting today Forge has first-party support for self-hosted GitLab installations. ![](https://laravel-blog-assets.s3.amazonaws.com/C6CaIlBx5JvuLmpzWB0b8IfnbKEvaa3MT3hB3geu.png)This means that Forge now provides a better integration for your self-hosted GitLab repositories: - Validation that the repository and branch exists - Automatically adds the server key to the repository so that it can be cloned You can connect your self-hosted GitLab installation in your account page, [https://forge.laravel.com/user/profile#/source-control](https://forge.laravel.com/user/profile#/source-control) We hope that you enjoy this new feature.

James Brooks

Product September 29, 2020

Vapor: Bypassing Maintenance Mode

When putting your application in maintenance mode using the `vapor down` command, your application will respond with a status code of 503 on every request. Beginning today, you may use the `secret` option on the `vapor down` command to specify a maintenance mode bypass token: ``` vapor down --secret=1630542a-246b-4b66-afa1-dd72a4c43515 ``` You may then navigate to the application URL matching this token and Vapor will issue a maintenance mode bypass cookie to your browser: ``` https://example.com/1630542a-246b-4b66-afa1-dd72a4c43515 ``` After accessing this hidden route, you will then be redirected to the `/` route of the application. Once the cookie has been issued to your browser, you will be able to browse the application normally as if it was not in maintenance mode. To use this feature, you need to make sure your application is using these versions: - `laravel/framework` v8.0+ - `laravel/vapor-core` v2.9.3+ - `laravel/vapor-cli` v1.9.4+

Mohamed Said

Product September 23, 2020

Vapor: Serving Assets From The Root Domain

Starting today, you can now serve assets from the root domain. To get started, just head over to your application's `config/vapor.php` file, and add an array of assets that should be served

Nuno Maduro

Product September 22, 2020

Envoyer: Refreshed Deployment Steps

Yesterday we shipped an updated to [Envoyer](https://envoyer.io) that gives deployment steps a much needed refresh. ![Envoyer Deployment Steps](https://laravel-blog-assets.s3.amazonaws.com/zpU2i4q89msOjcUroeNwCA1FJRsxaATVSHP4dCcf.png "Envoyer Deployment Steps") By default, Envoyer will perform four actions when deploying any project: 1. Clone New Release 2. Install Composer Dependencies (if configued) 3. Activate New Release 4. Purge Old Releases Before yesterday, you could configure additional deployment hooks that executed either before or after one of the pre-defined actions. This was confusing to many as there isn't a difference between **"After Clone New Release"** and **"Before Install Composer Dependencies"** for example. Yesterday's release flattens these deployment steps into a single list, which allows you to drag and drop any of your custom hooks into any order you need. Envoyer's four actions remain fixed, to ensure that projects continue to deploy in the correct order. The **Deployment Hooks** tab now shows you which user the action is running as and on what servers, so you can see what's happening at a quick glance.

James Brooks

Showing 111 - 120 of 167 results

Stay connected with the latest Laravel news