По какому протоколу взаимодействует сервер приложений и nginx?
blockquote>Какой бы протокол вы ни настроили.
Представьте, что у вас есть веб-приложение с этой архитектурой: сервер приложений Node (Koa) и веб-сервер Nginx впереди.
blockquote>Ваше приложение Koa будет использовать HTTP. Поэтому HTTP используется между Nginx и вашим сервером приложений.
Запрос браузера: TCP / IP ???
blockquote>HTTP всегда запускается по TCP. Браузер будет использовать любую версию HTTP, поддерживаемую им самим и сервером.
Вы настраиваете их, это http / 1 или 1.1 или 2?
blockquote>Да, вы настраиваете их. Хотя Node.js не поддерживает HTTP / 1.0 должным образом. И HTTP / 2 обычно завершается вашим веб-сервером (в этом примере Nginx). Итак, типично , что HTTP / 1.1 используется между Nginx и вашим сервером приложений Node.js. Это, очевидно, может измениться, если вы измените его.
The following is extracted from this page on the Delphi Q&A by Rob Kennedy: (CC licensed) although it relates to Delphi 2005 it may help.
In its default settings, the Delphi IDE notifies you whenever an exception occurs in your program, as in Figure 1. What’s important to realize is that at that point, none of your program’s exception-handling code has run yet. It’s all Delphi itself; its special status as a debugger allows it to get first notification of any exception in your program, even before your program knows about it.
If you do not want to be notified when an exception occurs, you have a few options.
You can use Delphi’s “advanced breakpoints” to disable exception handling around a region of code. To begin, set a breakpoint on the line of code where you want the IDE to ignore exceptions. Right-click on the breakpoint dot in the gutter and open the breakpoint-property dialog. In the advanced section are some check boxes. (See Figure 2.) Clear the “Break” box to prevent the debugger from interrupting your program at that line, and set the “Ignore subsequent exceptions” box.
Afterward, set another breakpoint where you want the debugger to resume handling exceptions. Change its properties to handle subsequent exceptions.
In an option related to the previous one, you can tell the debugger not to interrupt on any exceptions. To do that, clear the “Notify on language exceptions” check box.
Finally, you can turn off integrated debugging altogether. Delphi will not notify you of exceptions, and it will also not stop at breakpoints or allow use of the “Pause” button. Turn off integrated debugging in the debugger options, as shown in Figure 5 for Delphi 2005.
I have found the ignored exception types in
(Main menu) Tools >> Options >> Debugger Options >> CodeGear Debuggers >> Language Exceptions >>
and there is the list of exception types ignored.
It's somewhat more hidden than in D2005 but very close to what was said in the article referenced by Stuart Dunkeld.