Support the ongoing development of Laravel.io →
posted 1 year ago
Laravel
Last updated 1 year ago.

dongsheng329 liked this thread

1
Solution

Issue was with my nginx config file.

I had a issue in my nginx config. The updates I added to resolve the issue are:

` add_header X-FRAME-Options "SAMEORIGIN"; add_header X-Content-Type-Options "nosniff";

location / { try_files $uri $uri/ /index.php?$query_string; }

location ~ .php$ { fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; } `

0
Solution selected by @canont

Sign in to participate in this thread!

Eventy

Your banner here too?

Canon Tschikof canont Joined 14 Oct 2022

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.