From b28c22ee3ea6a0b0c6d538984e0c59dac4ec23bd Mon Sep 17 00:00:00 2001 From: riking Date: Fri, 13 Mar 2015 15:08:27 -0700 Subject: [PATCH] Add web.socketed.template.yml for nginx sockets --- templates/web.socketed.template.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 templates/web.socketed.template.yml diff --git a/templates/web.socketed.template.yml b/templates/web.socketed.template.yml new file mode 100644 index 0000000..6432de0 --- /dev/null +++ b/templates/web.socketed.template.yml @@ -0,0 +1,12 @@ + +run: + - replace: + filename: "/etc/nginx/conf.d/discourse.conf" + from: /listen 80;/ + to: | + listen unix:/shared/nginx.http.sock; + - replace: + filename: "/etc/nginx/conf.d/discourse.conf" + from: /listen 443 ssl spdy;/ + to: | + listen unix:/shared/nginx.https.sock ssl spdy; -- 2.25.1