diff --git a/dicos/99_one-frontend.xml b/dicos/99_one-frontend.xml
index 2d590c0..6cf96d2 100644
--- a/dicos/99_one-frontend.xml
+++ b/dicos/99_one-frontend.xml
@@ -9,7 +9,14 @@
+
+
+ 443
+
+
+ ip_admin_eth0
+
port_sunstone
vnc_proxy_port_sunstone
diff --git a/posttemplate/02-nebula-nginx b/posttemplate/02-nebula-nginx
new file mode 100755
index 0000000..5edf3f2
--- /dev/null
+++ b/posttemplate/02-nebula-nginx
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+ENABLE=$(CreoleGet activer_onefrontend 'non')
+CONF_FILE='nebula.conf'
+
+if [ -L /etc/nginx/sites-enabled/${CONF_FILE} ];then
+ rm /etc/nginx/sites-enabled/${CONF_FILE}
+fi
+if [ -L /etc/nginx/sites-enabled/eoleapps.conf ];then
+ rm /etc/nginx/sites-enabled/eoleapps.conf
+fi
+if [ "${ENABLE}" = 'oui' ];then
+ ln -s /etc/nginx/sites-available/${CONF_FILE} /etc/nginx/sites-enabled/${CONF_FILE}
+fi
diff --git a/tmpl/nginx-nebula.conf b/tmpl/nginx-nebula.conf
new file mode 100644
index 0000000..10e9cd5
--- /dev/null
+++ b/tmpl/nginx-nebula.conf
@@ -0,0 +1,30 @@
+#### OpenNebula Sunstone upstream
+upstream sunstone {
+ server 127.0.0.1:%%port_sunstone;
+# server %%adresse_ip_eth0:%%port_sunstone;
+}
+
+#### cloudserver.org HTTP virtual host
+server {
+ listen 80;
+ server_name cloudserver.org;
+
+ ### Permanent redirect to HTTPS (optional)
+ return 301 https://$server_name:443;
+}
+
+#### cloudserver.org HTTPS virtual host
+server {
+ listen 443;
+ server_name cloudserver.org;
+
+ ### SSL Parameters
+ ssl on;
+ ssl_certificate %%server_pem;
+ ssl_certificate_key %%server_key;
+
+ ### Proxy requests to upstream
+ location / {
+ proxy_pass http://sunstone;
+ }
+}
diff --git a/tmpl/sunstone-server.conf b/tmpl/sunstone-server.conf
index afb2dbe..bba3ce3 100644
--- a/tmpl/sunstone-server.conf
+++ b/tmpl/sunstone-server.conf
@@ -28,8 +28,8 @@
# Server Configuration
#
-#:host: 127.0.0.1
-:host: %%ip_sunstone
+:host: 127.0.0.1
+#:host: %%ip_sunstone
:port: %%port_sunstone
# Place where to store sessions, this value can be memory or memcache