meduz

Member Since 4 Years Ago

Belgium

Front-end developper at Belgium

Experience Points 4,650
Experience Level 1

350 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed 60
Lessons
Completed
Best Reply Awards 0
Best Reply
Awards
  • Start Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • Subscriber Achievement

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • Chatty Cathy Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

20 May
2 days ago
16 May
6 days ago

meduz left a reply on Should Forge + Digital Ocean Users Care About MDS/ZombieLoad Intel Vulnerability

I asked Saïd and Taylor on Twitter. Saïd answered me that Forge already performs these updates, if I correctly understand.

15 May
1 week ago

meduz started a new conversation Should Forge + Digital Ocean Users Care About MDS/ZombieLoad Intel Vulnerability

Hi,

Following last Intel mess, Digital Ocean recommends to update the Kernel of their droplets.

As a non-very-server-savvy guy, I’m wondering if it’s something that…

  • … should be done;
  • … can be done safely and without breaking anything (app running on it and Forge features);
  • … is supposed to be handled by the Laravel Forge team automatically regarding its exceptional character.

Any opinion or insight?

Thanks!

13 May
1 week ago

meduz left a reply on Laravel 5.7 Session Not Maintained While Using Subdomains

Just encountered the same problem in Laravel 5.8 with SESSION_DOMAIN=*.my-domain.tld in the .env file. Here’s how I solved it:

For local environment where SESSION_DRIVE=file

  • remove the asterisk in this SESSION_DOMAIN value (so it’s now `.my-domain.t);
  • manually delete the content of storage/framework/sessions.

For production environment where SESSION_DRIVE=redis

  • remove the asterisk in this SESSION_DOMAIN value (so it’s now `.my-domain.t);
  • clear all the things (php artisan config:clear, php artisan cache:clear);
  • also regenerated the app key (not sure it’s however useful);
  • restart Nginx and PHP.
02 May
2 weeks ago

meduz started a new conversation SSL Auto-renewal Failing On Redirected Domains

Hi all,

My company has a Forge server only used for domain redirections. In Forge interface, it means that sites on this server don’t host any app, but are only filled with one redirect (( to `https://otherdomain.t).

When comes the time for Let’s Encrypt auto-renewal (to renew the redirected domain certificate), the process fails as Let’s Encrypt bot is trying to query a URL (L (`.well-known/bl) that ends up being redirected like the whole domain.

So… I don’t know if it’s a feature not supported by Forge or if the problem lies somewhere else.

I think the following Nginx settings are loaded (not sure of the order, however):

In before/ssl_redirect.conf:

# Redirect every request to HTTPS...
server {
    listen 80;
    listen [::]:80;

    server_name .MYDNS.TLD.be;
    return 301 https://$host$request_uri;
}

In mytld.conf

# Redirect SSL to primary domain SSL...
server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;

    # FORGE SSL (DO NOT REMOVE!)
    ssl_certificate /etc/nginx/ssl/MYDNS.TLD.be/540731/server.crt;
    ssl_certificate_key /etc/nginx/ssl/MYDNS.TLD.be/540731/server.key;

    ssl_protocols TLSv1.2;
    ssl_ciphers ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384;
    ssl_prefer_server_ciphers on;
    ssl_dhparam /etc/nginx/dhparams.pem;

    server_name www.MYDNS.TLD.be;
    return 301 https://MYDNS.TLD.be$request_uri;
}

In server/redirect_rules.conf:

# Laravel Forge Redirect Rule 26978
rewrite / https://MYTARGETDNS.TLD redirect;

In server/letsencrypt_challenge.com:

location /.well-known/acme-challenge {
auth_basic off;
allow all;
alias /home/forge/.letsencrypt;
}

Also, my Nginx abilities are limited (front-end developer, here).

01 Mar
2 years ago

meduz left a reply on Laravel 5: CORS Headers With Filters

Update: I'll update my post in a few seconds. Seems like my brain has freeze a bit today. ~~

meduz left a reply on Laravel 5: CORS Headers With Filters

Hi!

I read the whole thread. Some question regarding the subject of CORS /w local development. My back-end experience is limited, I'm a front-end guy.

When working locally with a proxy (e.g. BrowserSync allowing you to access yourwebsite.dev through _localhost:3000_), my current solution looks a bit filthy: in the Laravel .env file, I added a APP_URL_CORS const set to * for the local development .env file, and set to yourwebsite.dev for other cases (production, staging, whatever…).

Then, I add this to every AJAX request: return response()->json($things_for_the_browser)->header('Access-Control-Allow-Origin', env('APP_URL_CORS'));

This works, but looks a bit crappy to me.

I understand your solution, but isn’t it a bit unsafe to allow every origins with the wildcard? Or did I miss something?

Thanks!