How to deploy Laravel Octane app on ubuntu using nginx (practical example).

Опубликовано: 10 Май 2021
на канале: Rehan Manzoor
7,621
131

#laravel #laravel_octane

In this video we will look at how to deploy laravel/octane app to ubuntu servern using nginx.

Purpose of the video is to help you grasp the concept of using nginx as a proxy server to laravel octane apps. Reason we need a proxy server is as laravel/octane runs on internal port.

00:00 Intro
00:35 How to create new laravel app using laravel isntaller
01:07 Install laravel/octane into laravel app
03:42 Add supervisor to run your laravel/octane app on the server
06:05 Configure nginx as reverse proxy
07:34 Recap of the video

To create laravel application with composer please run the following command
composer create-project laravel/laravel app

Laravel Octane supercharges your application's performance by serving your application using high-powered application servers, including Swoole and RoadRunner. Octane boots your application once, keeps it in memory, and then feeds it requests at supersonic speeds.

References:
Laravel Octane Docs: https://github.com/laravel/octane
Nginx & Supervisor ocnfig: https://gist.github.com/rummykhan/7e2...
Laravel Supervisor Docs: https://laravel.com/docs/8.x/queues#s...
Laravel Octane CLI:    • Laravel Octane CLI  


Смотрите видео How to deploy Laravel Octane app on ubuntu using nginx (practical example). онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Rehan Manzoor 10 Май 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 7,62 раз и оно понравилось 13 людям.