Fix https port on static sites
diff --git a/apache/files/static.conf b/apache/files/static.conf
index c29b166..4e39bb8 100644
--- a/apache/files/static.conf
+++ b/apache/files/static.conf
@@ -4,7 +4,7 @@
 {%- else %}
 {%- set root = '/srv/static/sites/'+site.name %}
 {%- endif %}
-<VirtualHost *:80>
+<VirtualHost *:{% if site.host.port is defined %}{{ site.host.port }}{% else %}{% if site.ssl is defined %}443{% else %}80{% endif %}{% endif %}>
   {%- include "apache/files/_name.conf" %}
   {%- include "apache/files/_ssl.conf" %}
   {%- include "apache/files/_log.conf" %}