1
0
Fork 0

Serve publications

This commit is contained in:
Alex Kotov 2020-05-19 03:42:35 +05:00
parent c0aed44966
commit d3ff4dd666
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
3 changed files with 16 additions and 1 deletions

View file

@ -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'

View file

@ -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 }}'

View file

@ -1,5 +1,5 @@
---
- src: kotovalexarian.common
version: v0.0.32
version: v0.0.33
- src: rvm.ruby
version: v2.1.2