Commit | Line | Data |
---|---|---|
b28c22ee | 1 | run: |
a59e9e6c S |
2 | - file: |
3 | path: /etc/runit/1.d/remove-old-socket | |
4 | chmod: "+x" | |
5 | contents: | | |
6 | #!/bin/bash | |
7 | rm -f /shared/nginx.http*.sock | |
8 | - file: | |
9 | path: /etc/runit/3.d/remove-old-socket | |
10 | chmod: "+x" | |
11 | contents: | | |
12 | #!/bin/bash | |
13 | rm -f /shared/nginx.http*.sock | |
b28c22ee | 14 | - replace: |
15 | filename: "/etc/nginx/conf.d/discourse.conf" | |
16 | from: /listen 80;/ | |
17 | to: | | |
18 | listen unix:/shared/nginx.http.sock; | |
19 | - replace: | |
20 | filename: "/etc/nginx/conf.d/discourse.conf" | |
21 | from: /listen 443 ssl spdy;/ | |
22 | to: | | |
23 | listen unix:/shared/nginx.https.sock ssl spdy; |