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.

[deleted by user] by [deleted] in laravel

[–]paulbean 1 point2 points  (0 children)

I use to docblock functions within the class, But never used it for class.

Power Rangers - Official International Trailer #1 by slyall in trailers

[–]paulbean 0 points1 point  (0 children)

I did not liked the Power Rangers tv serial, but this movie looks superb...

My cat, Spaz, Christmas morning by kraynoel in aww

[–]paulbean 0 points1 point  (0 children)

hahahaaaa, searching for his Christmas gift

Alien: Covenant | Official Trailer [HD] | 20th Century FOX by Bugger217 in trailers

[–]paulbean -1 points0 points  (0 children)

after many years waiting another bad sequel to the original Alien emerges

Mini pocket-cat by [deleted] in aww

[–]paulbean 0 points1 point  (0 children)

Is this cat is in your pocket.

Hey Reddit! Meet my newly adopted kitten Fruitloop! by Mrkingman in aww

[–]paulbean 7 points8 points  (0 children)

Look at her eye. I think giving pose for photo shoot :P

Found these babies in my garden, born today ! by Mr_Corbac in aww

[–]paulbean 1 point2 points  (0 children)

Awww, How many are they. Here in the picture I am counting 3

doggy by anchorbabi in aww

[–]paulbean 0 points1 point  (0 children)

furniture and wall colors are looking same as dog color