Milos Knezevic
Articles
-
URL Redirect 301 blog.example.com to example.com/blog
I have install wordpress at example.com/blog Cloudflare SSL Full (Strict) is enabled with Origin CA certificate installed. Force HTTPS redirect is enabled on server origin and also on Cloudflare....
-
How to determine database usage of an environment
GoalDetermine approximate database usage of a Upsun project using the Upsun CLI tool. Assumptions One or more Upsun projects Upsun CLI tool installed locally SSH key configured with the project a...
-
How to run a Rust web application on Upsun
The Rust runtime is currently available. There is a full example here.
-
How to manage your own Fastly configuration (custom VCL)
If your project utilizes an Upsun-provided Fastly CDN service, it comes pre-configured with basic optimizations and protections appropriate for your application type. However, if you need to add a...
-
Strapi constantly restarting in development environments (Restart Loop)
When tailing the logs of a Strapi application on a development environment, you may notice that the container is constantly trying to restart Strapi, even if the application UI appears to be runni...
-
502 error - Bad gateway
This almost always is an application issue. 502 is a catch-all for issues . Some of them listed below It's possible app is trying to write to a READ-ONLY file system. Or application is crashing ...
-
Fixing npm ERR! Exit status 137 during deployments
If your deployment fails during the build phase with an Exit status 137 (or Killed error Command failed with exit code 137 if using Yarn), it indicates that your build process has run out of memor...
-
Why does my deploy log say `No composer.lock file present` when I really do have a `composer.lock`?
I’m deploying a Drupal 8 or 9 site, and although things seem to work OK, my deploy log contains the confusing message:Changed current directory to /app/.global/composer/composer W: No composer....
-
Do redirects in `routes.yaml` file also show up in `PLATFORM_ROUTES`?
Is this even possible if I have many (thousands) of redirects since they would be stored in an environment variable?Yes, redirect routes still show in in the PLATFORM_ROUTES environment variable. T...
-
How to Migrate a Java Application to Upsun
Migrating a Java application (such as Spring Boot, Quarkus, or a standard Maven/Gradle project) to Upsun is straightforward. Instead of dealing with infrastructure provisioning, you define your ap...