[PVE-User] Can I change default port from 8006 to 443?

Matthew Caron Matt.Caron at sixnet.com
Wed Oct 5 18:07:35 CEST 2011


On 10/05/2011 11:34 AM, Dietmar Maurer wrote:
> What is if I find a better solution in 2 months? It is impossible to roll out my better solution
> if the user modified those file. Or how should that work?

I think it triggers a conflict resolution dialog. As in "you've modified 
this file and the package maintainer has a new one, which one do you 
want to use", etc.

> Normally it is best to have everything in /etc/apache2/conf.d/myconf or /etc/apache2/sites-available/mystite.conf,
> and let the package update those files. That way you can roll out changes.

Fair enough. Copied from my other email:

===
You should be able to do that:

echo "Listen 443" > pve-on-port-443.conf
sudo mv pve-on-port-443.conf /etc/apache2/sites-available/
sudo a2ensite pve-on-port-443.conf
sudo /etc/init.d/apache2 reload

Looking at /etc/apache2/apache2.conf, the only difference between the 
ports.conf include and the sites-enabled lines is that the LogFormat 
lines and conf.d is after ports.conf and before apache2.conf...
===

Does the above not work?

-- 
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.caron at sixnet.com



More information about the pve-user mailing list