Right way to use Nginx directives in ISPconfig

Hi! I am trying to set up Moodle with Nginx and ISPconfig 3.1.
In the past I checked the docs of the applications I wanted to run with Nginx and was able to copy the location directives inside the ISPconfig Option field for "Nginx directives" of each domain.

When I try the same with the suggested Moodle directives the Nginx server does not start. This is the code which should be used for Nginx servers: