Standard Web Ports

Overview

This guide shows you how to enable standard web ports for your Virtualizor Master server.

Config Files

For Port 80 please create the file /usr/local/emps/etc/nginx/port-80.conf :
listen 80;

For Port 443 please create the file /usr/local/emps/etc/nginx/port-443.conf :
listen 443;

Auto redirect to https (For enduser panel only)

To auto redirect port 80 to port 443 (i.e http to https) add the following content to the file /usr/local/emps/etc/nginx/port-80.conf

listen 80;
server_name YOUR_DOMAIN;
return 301 https://$host$request_uri;

NOTE: Auto redirect will work if the port-443.conf file is present.

Restart Virtualizor Service

Restart the Virtualizor service :

root> service virtualizor restart

Was this helpful to you?