Support the ongoing development of Laravel.io →
Configuration
Last updated 2 years ago.
0

With the help of the nginx beginners guide I am now getting a 404 error at http://127.0.0.1:8000/ Some progress, I suppose!

http://nginx.org/en/docs/beginners_guide.html

I made data/www directory in the /vagrant directory and I have tried adding the following to the nginx.conf

    server {
            listen 8000;
            location / {
                    root /data/www;
            }

    }

and

    server {
            listen 8000;
            location / {
                    root /home/vagrant/data/www;
            }

    }

404 is the best I've come up with so far

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.