400 when submitting form data to ASP.Net Core

I am developing an ASP.Net Core 2.0 application and running it on Linux / Nginx / Kestrel.

In the development environment (Windows 10) everything works smoothly. Also, when starting the application with "dotnet" execution in the project directory.

In a working environment (Debian 8 / Kestrel), all POST forms with an HTTP status code of 400 (Bad Request) fail without requesting any error in the console, and GET form requests are executed normally. All other messages (warnings, errors) are requested in the console. I am running the application using "dotnet.dll".

Can someone point me in a direction to solve the problem?

+4
source share

Source: https://habr.com/ru/post/1689950/


All Articles