November 2023

Cloudflare pages, multiple “projects” with a single GitHub repo

Last Updated on November 26, 2023 by Moh I have in a single repository, several projects in subdirectories, each corresponding to a different site, this option would be important for me not to need to create several different repositories, each containing a single site. It can be done, although it’s not at all documented. Two […]

Cloudflare pages, multiple “projects” with a single GitHub repo Read More »

Understanding CSRF Protection in Laravel

Last Updated on November 23, 2023 by Moh CSRF attacks occur when an attacker tricks a user’s browser into making an unintended request. To counteract this threat, Laravel includes CSRF protection by default. The framework generates unique CSRF tokens for each user session, and these tokens are validated on the server side for specific types

Understanding CSRF Protection in Laravel Read More »

How to Disable Direct IP Access in Nginx (HTTP & HTTPS)

Last Updated on November 20, 2023 by Moh Find out how to use Nginx to disable direct IP access to your websites. In particular, I’ll cover these three solutions that will turn away users, malicious or not, when they try to access your server via IP:- ssl_reject_handshake approach for Nginx 1.19.4 and newer (recommended solution)

How to Disable Direct IP Access in Nginx (HTTP & HTTPS) Read More »