Serve publications
This commit is contained in:
parent
c0aed44966
commit
d3ff4dd666
3 changed files with 16 additions and 1 deletions
|
@ -21,6 +21,13 @@ common__nginx__upstreams:
|
|||
servers: ['unix:/opt/report_ip/tmp/sockets/puma.sock']
|
||||
|
||||
common__nginx__sites:
|
||||
- type: listing
|
||||
domain: 'pub.crypto-libertarian.com'
|
||||
cert: '/etc/letsencrypt/live/misc.crypto-libertarian.com/fullchain.pem'
|
||||
key: '/etc/letsencrypt/live/misc.crypto-libertarian.com/privkey.pem'
|
||||
ssl_conf: '/etc/letsencrypt/options-ssl-nginx.conf'
|
||||
root: '/var/www/pub'
|
||||
|
||||
- type: origin
|
||||
domain: 'report-ip.crypto-libertarian.com'
|
||||
cert: '/etc/letsencrypt/live/misc.crypto-libertarian.com/fullchain.pem'
|
||||
|
|
|
@ -13,6 +13,14 @@
|
|||
apt:
|
||||
name: redis-server
|
||||
|
||||
- name: Create directory for publications
|
||||
file:
|
||||
state: directory
|
||||
path: /var/www/pub
|
||||
owner: root
|
||||
group: root
|
||||
mode: 'u=rwx,g=rx,o=rx'
|
||||
|
||||
- name: Create system group
|
||||
group:
|
||||
name: '{{ item }}'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- src: kotovalexarian.common
|
||||
version: v0.0.32
|
||||
version: v0.0.33
|
||||
- src: rvm.ruby
|
||||
version: v2.1.2
|
||||
|
|
Reference in a new issue