Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

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

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
samcharles93
Posts: 1
Joined: Sat Oct 07, 2017 10:47 pm

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

Post by samcharles93 » Tue Jun 12, 2018 7:48 am

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
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password