Engineering Insights · 09 Jun 2024

Problem with NGINX - Unprocessable entity localhost

When you try to run application, for example on Amazon Linux server, and trying to connect it
with a domain with the use of NGINX you can encounter some problematic issue.

You're starting server but, and it works, but when you try to make POST request, you're getting 422 Unprocessable Entity error.

This is because your application is still sending localhost Header, an this is not recognized by the app.

To fix this you need to modify your NGINX configuration

Read more
Engineering Insights · 23 May 2022

SOLID principles in Ruby

SOLID is a popular group of design principles and if you are a developer, for sure you had contact with it.

It is must if you want to get a nice job, but still many programmers have a problem to deal with this in 100%.

This is my explanation what is SOLID about in Ruby ecosystem.

Read more