Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
almet committed Nov 23, 2016
1 parent c510f5c commit d0e7a76
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
3 changes: 3 additions & 0 deletions haproxy/haproxy.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ frontend https
acl vieuxsinge_redirect hdr_beg(host) -i vieuxsinge.com
redirect location https://www.vieuxsinge.com code 301 if vieuxsinge_redirect

acl kintostorage_redirect hdr_beg(host) -i kinto-storage.org
redirect location https://www.kinto-storage.org code 301 if kintostorage_redirect

acl host_discourse_server hdr_beg(host) -i forum.
use_backend discourse_server if host_discourse_server

Expand Down
3 changes: 2 additions & 1 deletion letsencrypt/domains/kinto-storage.org.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash

/home/poils/letsencrypt/letsencrypt-auto certonly --renew-by-default --webroot -w /home/www/letsencrypt-requests/ \
-d slack.kinto-storage.org
-d slack.kinto-storage.org \
-d www.kinto-storage.org

9 changes: 9 additions & 0 deletions nginx/www.kinto-storage.org
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
server {
listen 8000;
server_name www.kinto-storage.org;

location / {
root /home/www/www.kinto-storage.org/;
index index.html;
}
}

0 comments on commit d0e7a76

Please sign in to comment.