Page 1 of 1

Force-HTTPS templates - HTTP/HTTPS ports are not getting placed in the Config

Posted: Tue Jun 12, 2018 7:48 am
by samcharles93
when setting the Force-HTTPS templates in NGINX/PHP-FPM, after a restart NGINX won't startup, as HTTP/HTTPS ports are not getting placed in the Config

nginx: [emerg] invalid port in "1.1.1.1:"

server {
listen %ip%:%proxy_port%;
server_name %domain_idn% %alias_idn%;
location / {
rewrite ^(.*) https://%domain_idn%$1 permanent;
}
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
}

seems %proxy_port% is not placing the port numbers... both stpl and tpl