Milos Knezevic
Articles
-
Fleets
FleetsUpsun exists to standardize DevOps best practices - committed infrastructure, consistent staging environments, etc. to produce reliable and reproducible builds. Adopting to Upsun ensures feat...
-
How to configure caching for static assets
Caching is a common and effective way to improve the performance of a website. Both upsun and your browser can cache static files with the proper cache header configuration. This guide will explain...
-
Using the upsun cli in the web container
GoalHave the upsun CLI installed and authenticated in the web container. ProblemsUsing the CLI directly from the web (application) container can be required to automate certain tasks. Many tasks th...
-
Use the latest npm version
In your .upsun/config.yaml file, set the npm version to latest as follows:dependencies: nodejs: npm: latestReferences Upsun: JavaScript/Node.js Upsun: Manage Node.js versions
-
Set up a WebSocket route
To use the WebSocket protocol on a route, cache must be disabled because WebSocket is incompatible with buffering, which is a requirement for the router caching."https://{default}/ws": type: up...
-
How to get drush to use the correct URL?
Q: When I run drush status on production, it shows the generated URL instead of my.domain.com This means that links in emails generated by the system during crons and other tasks like sitemap gene...
-
When does a variable require JSON formatting?
QuestionWhen providing environment variables, you have the option to provide JSON formatted values. What would be the deciding factor to create a JSON formatted variable? AnswerJSON formatted varia...
-
Installing WP Rocket (WordPress)
Assumptions: You already have a working site deployed on Upsun Your public/root directory is named wordpress Your wp-content directory is located at wordpress/wp-content You're using a Composer-b...
-
Java Memory commands
Java Heap space is used by the Java runtime to allocate memory to Objects and JRE classes. Whenever we create an object, it’s always created in the heap space. This post, we’ll explain to how to se...
-
How can I get information on the various Upsun regions?
For example, which ones are available, where are they, what IaaS infrastructure do they run on? You can use the Upsun API: upsun api:curl regions | jq '.regions[] | select(.available) | .id + ": "...