ish_models 3.1.0.24 → 3.1.0.26
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97f97bdcb51eb6182a726769934e5153bb3a0822ee4cf1aefcd556531cacbbb2
|
4
|
+
data.tar.gz: dfa075773c4ae11888b6000d7e1d9679a49bfe3fc230c133359b5138f01d8f7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fbb361e4c1fdbd4dae04a1bea306a98cc3ecf4fa3d79eadb2afaf67878400d50648d076aef765ee385541fa7b31f0cd92a8d3cc9705362684fc0acc6396e0f3
|
7
|
+
data.tar.gz: feac5b484692d282f0ee2b0cc57967989a34c978396be2ac461293baaa0078332b88b1a3cfa357e333daef38e3f2d69a0cd927db30590f340cc641614b4bdcd8
|
@@ -31,11 +31,13 @@ class WcoHosting::Serverhost
|
|
31
31
|
def create_appliance app
|
32
32
|
# puts! app, 'Serverhost#create_appliance'
|
33
33
|
|
34
|
+
create_subdomain( app )
|
35
|
+
sleep 5
|
36
|
+
|
34
37
|
create_volume( app )
|
35
38
|
add_docker_service( app )
|
36
39
|
add_nginx_site( app )
|
37
40
|
# load_database( app )
|
38
|
-
create_subdomain( app )
|
39
41
|
|
40
42
|
update({ next_port: app.serverhost.next_port + 1 })
|
41
43
|
end
|
@@ -48,6 +50,12 @@ class WcoHosting::Serverhost
|
|
48
50
|
data: app.serverhost.public_ip,
|
49
51
|
)
|
50
52
|
client.domain_records.create(record, for_domain: app.domain )
|
53
|
+
record = DropletKit::DomainRecord.new(
|
54
|
+
type: 'AAAA',
|
55
|
+
name: app.subdomain,
|
56
|
+
data: app.serverhost.public_ip,
|
57
|
+
)
|
58
|
+
client.domain_records.create(record, for_domain: app.domain )
|
51
59
|
end
|
52
60
|
|
53
61
|
## obsolete _vp_ 2023-12-23
|
@@ -5,6 +5,6 @@ server {
|
|
5
5
|
location / {
|
6
6
|
proxy_pass http://127.0.0.1:<%= @app.port %>/;
|
7
7
|
}
|
8
|
-
ssl_certificate /etc/letsencrypt/live
|
9
|
-
ssl_certificate_key /etc/letsencrypt/live
|
8
|
+
ssl_certificate /etc/letsencrypt/live/pox.bar/fullchain.pem; # managed by Certbot
|
9
|
+
ssl_certificate_key /etc/letsencrypt/live/pox.bar/privkey.pem; # managed by Certbot
|
10
10
|
}
|