Hi @ivapix
You have two options to put this in:
1) Directly in the domain under "apache & nginx-settings", field "additinal nginx-settings" (or so, my system is in german).
2) In the Service Packet, Tab Webserver, same Area.
Sadly the Service-Packets are not really reliable, so put it in each...