Skip to main content
38
results
Andrew Fletcher
When managing a server or developing applications, particularly on an Ubuntu system running Nginx, it's often necessary to verify the existence of files. This is crucial for tasks like deploying new versions, checking configuration files, or ensuring that required assets are in place. In this article, we'll explore how to use command-line queries to check if a file exists, highlighting various options and methods you can use.   Basic File Check with test Command The test command is a simple...
Andrew Fletcher
To resolve the CVE-2022-48624 vulnerability on Ubuntu using Nginx, it's crucial...
Andrew Fletcher
In many terminal text editors, you use find command as reference in Terminal...
Andrew Fletcher
In an environment that is running Ubuntu 20.02 Nginx Solr   The default...
Andrew Fletcher
The error you're encountering indicates an issue with the ffi gem during the...
Andrew Fletcher
Adding an SSL wildcard certificate to an Ubuntu server involves several steps.  A wildcard certificate can secure subdomains of a domain with a single certificate. Here's a general outline of the process: I'll be using an existing wildcard certificate. sudo apt update && sudo apt upgrade -y  Copy the certificate sudo cp /etc/letsencrypt/live/your_domain/fullchain.pem /etc/ssl/your_domain.crt sudo cp /etc/letsencrypt/live/your_domain/privkey.pem /etc/ssl/your_domain.keyAdd the...
Andrew Fletcher
When logging into Ubuntu server you will see a response similar to Welcome to...
Andrew Fletcher
Forcing https and www or non-www is a process that I was a custom to through...
Andrew Fletcher
Goal: Restrict content access through username and password entry on an Nginx...
Andrew Fletcher
The challenge I was facing, I had written a script to scan barcodes and use...
Andrew Fletcher
Finding the issue with a server 500 error The Nginx error logs are showing too much detail.   Nginx logs and test There are no errors in the nginx log and sudo nginx -t looks fine sudo nginx -tResponse nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful  Are the services running? I'll start by doing a status check for  Nginx PostgreSQL jetty9 Supervisor Nginx sudo service nginx statusResponse ●...
Andrew Fletcher
Focusing on the ckan.ini file (/etc/ckan/default/ckan.ini).  When I run the...
Andrew Fletcher
Listen in on the ports being used on your server.  To do so, run the...
Andrew Fletcher
Error with Nginx When running an Nginx test, the following response was being...
Andrew Fletcher
 ERROR Error: Uncaught (in promise): TypeError: undefined is not an object...