1
0
Fork 0
This commit is contained in:
Vladimír Dudr 2023-01-11 09:21:53 +01:00
parent 04154d9337
commit 87bcfd8574

View file

@ -3,9 +3,6 @@
set -e
doms=(
'localhost'
'local3000.localhost'
'djinn1.localhost'
'*.adminer.localhost'
'*.aikido.localhost'
'*.asqix.localhost'
@ -14,8 +11,8 @@ doms=(
'*.booking.localhost'
'*.caves.localhost'
'*.enix.localhost'
'*.eno.localhost'
'*.eno-statistix.localhost'
'*.eno.localhost'
'*.eshop.localhost'
'*.gdpr.localhost'
'*.invoicing.localhost'
@ -27,17 +24,20 @@ doms=(
'*.layaweb.localhost'
'*.mytango.localhost'
'*.nicerice.localhost'
'*.sms.localhost'
'*.statistix.localhost'
'*.teastarter.localhost'
'*.trailguide.localhost'
'*.up123.localhost'
'*.vizit-core.localhost'
'*.vizit-virtualni-recepce.localhost'
'*.vizit.localhost'
'*.vizitpresentation.localhost'
'*.vizit-virtualni-recepce.localhost'
'*.zdravotniregistr.cz'
'djinn1.localhost'
'local3000.localhost'
'localhost'
)
mkcert -cert-file $HOME/.config/nginx/ssl/localhost.crt -key-file $HOME/.config/nginx/ssl/localhost.key $doms
if [[ $(systemctl --user is-active nginx) = active ]]