C
C
chelkaz2017-06-17 10:15:17
Nginx
chelkaz, 2017-06-17 10:15:17

Nuxt.js + PHP framework as backend, how to setup nginx and apache?

I want to start an application on Nuxt.js https://ru.nuxtjs.org/guide
And for the API, use the backend on Laravel
How do I need to configure the server?
Switch Apache to Laravel and nginx to Nuxt.js?
nginx -> Nuxt.js -> takes the API from Laravel through Apache?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
rroman, 2017-08-05
@rroman

Alternatively, configure via nginx api.example.com to Laravel, and the main domain example.com to node.js with Nuxt

O
OnYourLips, 2017-06-17
@OnYourLips

Exclude Apache, it is not needed for Laravel sites.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question