How to edit manual ports on templates

Referring to the following article : Hestia + Cloudflare Tunnel - #3 by ncode

How to edit the template and write the correct Listen port?

I have copied the default template and edited the Listen port as a number instead of a Variable but it doesn’t work
/usr/local/hestia/data/templates/web/nginx/copy.tpl

server {
listen 0.0.0.0:1122;
server_name %domain_idn% %alias_idn%;
error_log /var/log/%web_system%/domains/%domain%.error.log error;