Page MenuHomeDevCentral

D3894.id.diff
No OneTemporary

D3894.id.diff

diff --git a/pillar/paas/docker/dwellers/zulip.sls b/pillar/paas/docker/dwellers/zulip.sls
new file mode 100644
--- /dev/null
+++ b/pillar/paas/docker/dwellers/zulip.sls
@@ -0,0 +1,13 @@
+# -------------------------------------------------------------
+# Salt — Provision Docker engine
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# Service: Zulip
+# -------------------------------------------------------------
+
+docker_containers:
+ zulip_web:
+ chat_nasqueron:
+ host: chat.nasqueron.org
+ app_port: 15080
diff --git a/roles/paas-docker/nginx/files/vhosts/zulip.conf b/roles/paas-docker/nginx/files/vhosts/zulip.conf
new file mode 100644
--- /dev/null
+++ b/roles/paas-docker/nginx/files/vhosts/zulip.conf
@@ -0,0 +1,31 @@
+# -------------------------------------------------------------
+# Configuration for Docker PaaS front-end nginx
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Author: Sébastien Santoro aka Dereckson
+# Source file: roles/paas-docker/nginx/files/vhosts/zulip.conf
+# -------------------------------------------------------------
+#
+# <auto-generated>
+# This file is managed by our rOPS SaltStack repository.
+#
+# Changes to this file may cause incorrect behavior
+# and will be lost if the state is redeployed.
+# </auto-generated>
+
+server {
+ listen 80;
+ listen [::]:80;
+ server_name {{ fqdn }};
+
+ location / {
+ proxy_pass http://localhost:{{ app_port }};
+
+ include includes/proxy_params;
+ proxy_redirect off;
+ }
+
+ root /var/wwwroot-502/_default;
+ error_page 502 /502.html;
+ location /502.html {}
+
+}

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 29, 19:34 (21 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3215064
Default Alt Text
D3894.id.diff (1 KB)

Event Timeline