To Force the redirect of Laravel Nova I proceeded with modifications
#1 – Remove the default route definition

#2 – Address the ‘/nova’ path to just ‘/’

To Force the redirect of Laravel Nova I proceeded with modifications
#1 – Remove the default route definition
#2 – Address the ‘/nova’ path to just ‘/’
It has been on my mind for a long time … How to get notified when one of my web properties go down . I found this amazing free website tool called UPTIME ROBOT – Get notified for free and stay on the top of your business
It has been a pretty long day as I was struggling to get a Laravel application to return SSL or HTTPS connections. I was put in this situation because the SysOp team of my company placed the laravel app behind a loadbalancer accepting SSL connections but converting these connection to HTTP.
It seems trivial but it did mess with the laravel application that relies on the incoming protocol to define login/logout url pages for instances
After messing up and discovering TrustProxies I found an easy solution with
Here is my solution , open the file app/Providers/AppServiceProvider.php
And add the following line URL::forceScheme('https');
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\URL;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
URL::forceScheme('https');
}
}
Hi team, here is what to add in your nginx configuration file to resolve the desired virtual host name
server_name example.com www.example.com;
Here are the steps when you encounter the error below, it means that the yaml library is missing as it is not native to php per say
undefined function yaml_parse_file
Install YAML library for PHP when you see the error below
yum search yaml
First step is to install yaml via pecl
pecl install yaml-2.0.0
Second step is to create the following file
/etc/php/conf.d/ext-yaml.ini
And add the following line
echo "extension=yaml.so"
Then restart php server
service php-fpm restart
Very helpful website top figure out crontab sequence
https://crontab.guru/#0_0_*_*_*
Every 30 minutes
/etc/crontab
*/30 * * * * root /etc/init.d/httpd restart > /dev/null 2>&1
*/30 * * * * root /etc/init.d/mysql restart > /dev/null 2>&1
Every hour
/etc/crontab
0 * * * * root /etc/init.d/httpd restart > /dev/null 2>&1
Every minute
/etc/crontab
* * * * * root /etc/init.d/httpd restart > /dev/null 2>&1
Check logs
tail n- 200 /var/log/cron
tail n- 200 /var/log/messages
Plus link here regarding dev/null 2>&1
————————————————————————
If you are confronted with the following issue with BCC Architect, the best solution is to take the latest updates available on their website https://portal.bccsoftware.com/
Error: 404 ISSUE WriteMailDatToZip MRE1=92 -2147220468 SaveReport failed to save the file “0106A220” for report 364. (error 8004040c)
Download on this page
Nowadays, IT departments have been jam-packed with a lot of nonsense and therefore a lot of Jira tickets, if you see what I mean. Here is a way to quickly assess the necessity of a task or a project to be executed. It is important to raise these questions during preliminary meetings. Once the project is launched, it will be difficult to backpedal according to my experience. Also great find in this tweet great ideas on how to tackle this question https://twitter.com/sebdedeyne/status/1271370141683638273
Here are the most critical questions :
Although these questions above may seem rational and logical, they can easily and will be easily swept away by some great irresponsible political bluffer developer/manager mentioning the security of a system or application. The word is dropped : Security. The winning argument, the selling point to any individual and to any of our dear IT companies, FEAR.
Although most of our infrastructure are covered with firewalls, proxies, CDN and heavy monitoring systems – I have seen Fear win the argument even if the chance of its occurring was inexistent
David Raleche
For starter with AWS, Serverless Framework CLI is a must. Build your entire infrastructure in seconds !
What does AWS mean ? Amazon Web Service.
What does AWS provide ? provides on-demand cloud computing platforms and APIs to individuals, companies, and governments, on a metered pay-as-you-go basis such as hosting web server
What is Serverless framework CLI ? . A single configuration file allows you to list your functions and define the endpoints that they’re subscribed to. It provides structure, automation and best practices out-of-the-box, allowing you to focus on building sophisticated, event-driven, serverless architectures, comprised of functions and events. The Serverless Framework CLI is the simplest way to develop infinitely scalable, pay-per-execution serverless applications.
I built an architecture SQS, DLQ, SNS and Lambda with serverless and it is fantastic for deployment and quick development. This framework made the whole development experience smooth
What is SQS ? Simple Queue Service (SQS) is a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless applications.
What is DLQ ? You can now set a dead-letter queue (DLQ) to an Amazon Simple Notification Service (SNS) subscription to capture undeliverable messages. Amazon SNS DLQs make your application more resilient and durable by storing messages in case your subscription endpoint becomes unreachable.
What is SNS ? Amazon SNS is a fully managed pub/sub messaging service. You can use Amazon SNS topics to decouple message publishers and subscribers, and simultaneously distribute messages to multiple endpoints, such as Amazon SQS queues, AWS Lambda functions, HTTP endpoints, email addresses, and mobile devices (SMS text messages and mobile push notifications).
What is Lambda ? AWS Lambda is a serverless compute service that runs your code in response to events and automatically manages the underlying compute resources for you.
— Tutorial to quick start with serverless —
https://www.serverless.com/framework/docs/providers/aws/guide/quick-start/
David Raleche
ERROR
Facade\Ignition\Exceptions\ViewException
The Mix manifest does not exist.
Solution
php artisan vendor:publish --all