skyrpex / laravel-nuxt-js

Build a SPA with Laravel and Nuxt.
https://www.npmjs.com/package/laravel-nuxt
MIT License
146 stars 20 forks source link

Can't get production working. #18

Closed ABilenduke closed 5 years ago

ABilenduke commented 5 years ago

I ran laravel-nuxt build. Set up nginx as a proxy. But I will just get a 502 error. Any idea how I can get it working?

skyrpex commented 5 years ago

What do you exactly mean with setting up nginx as a proxy? You should serve your application as usual (handling php files and serving static assets).

ABilenduke commented 5 years ago

Oh my god lol I tried to follow the setup on the nuxt page for awhile... I feel like an idiot.

skyrpex commented 5 years ago

Don't worry! Haha Let me know if you still have any issue.