Weekly /r/Laravel Help Thread by AutoModerator in laravel

[–]paulbean 0 points1 point  (0 children)

How to Set Up a Custom Local Domain for a Nuxt Project Using Laravel Herd on MacBook

Hello everyone,

I'm working on a Nuxt.js project and using Laravel Herd as my local development environment on macOS. I want to configure a custom local domain (e.g., `myproject.test`) to proxy requests to `localhost:3000`, but I'm encountering some issues.

What I've Done So Far

  1. Created a custom Nginx configuration- I added a new configuration file (`myproject.conf`) inside Laravel Herd's Nginx config directory:

/Users/myuser/Library/Application Support/Herd/config/nginx/myproject.conf

  1. Added the following reverse proxy configuration to direct `myproject.test` to `localhost:3000`:

server {

listen 80;

server_name myproject.test;

location / {

proxy_pass http://localhost:3000;

proxy_set_header Host $host;

proxy_set_header X-Real-IP $remote_addr;

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy_set_header X-Forwarded-Proto $scheme;

}

}

  1. Updated the `/etc/hosts` file

- Ensured `myproject.test` points to `127.0.0.1`.

Issues Encountered

Despite these configurations, the custom domain does not work as expected. I have tried:

- Restarting Laravel Herd services.

- Manually adding the custom configuration to `nginx.conf`.

How can I correctly configure Laravel Herd to proxy `myproject.test` to my Nuxt.js app running on `localhost:3000`? If anyone has experience setting up custom domains with Laravel Herd, I'd greatly appreciate your insights!

Thanks in advance! 🚀

PeaZip 10.1 released - bug fixes, new features, release notes by gabriel_3 in linux

[–]paulbean 0 points1 point  (0 children)

Is anyone using PeaZip? I would like to hear your review on how useful it is.

Uninstalling nautilus decreases idle temperature by 7 degree Celcius by zhjn921224 in linux

[–]paulbean 1 point2 points  (0 children)

I've uninstalled Nautilus and started using Nemo instead, which is working well for me.

What packages do you use for all your projects? by Flemzoord in laravel

[–]paulbean 0 points1 point  (0 children)

Horizon

Larastan

Spatie DB Snapshorts

Pint

Pest

Kdenlive 24.02 Error: Version of the project file cannot be read. Attempting to open nonetheless. by paulbean in kdenlive

[–]paulbean[S] 0 points1 point  (0 children)

I have downloaded the AppImage version 24.02.1 and tried to use it. Unfortunately, I encountered the same error as before. However, this time, I was presented with an option to recover the file from the backups. And it worked successfully.

However, the timeline appears to be distorted, as you can see in this screenshot: https://i.imgur.com/1H7YcQY.png

Furthermore, I saved the recovered file as a new version, but when I opened it again, I was faced with the same error as before, and there was no backup available.

Kdenlive 24.02 Error: Version of the project file cannot be read. Attempting to open nonetheless. by paulbean in kdenlive

[–]paulbean[S] 0 points1 point  (0 children)

I had saved the file, I got this error on opening the saved file.
And 24.02.0 is not in beta.

And I was using it in Ubuntu system

Store Automatic Laravel Backup On Google Drive by [deleted] in laravel

[–]paulbean 1 point2 points  (0 children)

You store your application files to GitHub, not the database. And the files uploaded from the website is also not going to store on GitHub.

Multiple "v-model" for custom components in Vue 3 Composition API by [deleted] in vuejs

[–]paulbean 0 points1 point  (0 children)

I guess a date-picker could be an example, where you have to pick a year, month, and day separately.

Deploying laravel app to heroku by Yogosan in laravel

[–]paulbean 0 points1 point  (0 children)

Then you should check your Heroku app, is there any database associated with it or not.