Just put the wedding folder right in the shared folder:
mv wedding/ /path/to/laravel/public
Then visit the URL of your site with the suffix for the wedding:
http:
This will load index.html from the wedding folder.
This works with the Nginx try_files directive in the /etc/nginx/sites-enabled/my-site configuration file:
location / { try_files $uri $uri/ /index.php?$query_string; }
This instructs Nginx to first search for the actual file matching the URL (e.g. /css/app.css , /wedding/index.html , etc.). If it does not find the corresponding file (for example, it usually returns 404 not found), it should instead pass the query string as an argument to the index.PHP script.
source share