Move files managed by vmmgr to vmmgr package
This commit is contained in:
parent
391859ded4
commit
d16fcb8a9d
2
apk/spoc
2
apk/spoc
@ -1 +1 @@
|
||||
Subproject commit 4e7921e85dfc7b66667ceb1d9a5da840a757a5a4
|
||||
Subproject commit 5929a1ea6b9e551965fde57e4e83b41d05b901c4
|
@ -1 +1 @@
|
||||
Subproject commit 3b9cbe61b326d2ac829305996b6c2dd3f0e6e635
|
||||
Subproject commit c2207195ccd84f07126791c5540f0880d1cdda37
|
@ -1,61 +0,0 @@
|
||||
server {
|
||||
listen [::]:80 default_server ipv6only=off;
|
||||
|
||||
location / {
|
||||
return 301 https://$host:443$request_uri;
|
||||
}
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
root /etc/acme.sh.d;
|
||||
}
|
||||
|
||||
location = /vm-ping {
|
||||
add_header Content-Type text/plain;
|
||||
return 200 "vm-pong";
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen [::]:443 ssl http2 default_server ipv6only=off;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8080;
|
||||
}
|
||||
|
||||
location /static {
|
||||
root /usr/share/vmmgr;
|
||||
}
|
||||
|
||||
error_page 502 /502.html;
|
||||
location = /502.html {
|
||||
root /usr/share/vmmgr/templates;
|
||||
}
|
||||
|
||||
location = /vm-ping {
|
||||
add_header Content-Type text/plain;
|
||||
return 200 "vm-pong";
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen [::]:443 ssl http2;
|
||||
server_name ~^(.*)\.spotter\.vm$;
|
||||
|
||||
location / {
|
||||
return 503;
|
||||
}
|
||||
|
||||
location /static {
|
||||
root /usr/share/vmmgr;
|
||||
}
|
||||
|
||||
error_page 503 /503.html;
|
||||
location = /503.html {
|
||||
root /usr/share/vmmgr/templates;
|
||||
}
|
||||
|
||||
location = /vm-ping {
|
||||
add_header Content-Type text/plain;
|
||||
return 200 "vm-pong";
|
||||
}
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Sleep randomly up to 1hr to avoid peak on ACME server
|
||||
/bin/sleep $(/usr/bin/shuf -i 60-3600 -n 1)
|
||||
/usr/bin/acme.sh --home /etc/acme.sh.d --cron >/dev/null
|
@ -1,28 +0,0 @@
|
||||
-----BEGIN PRIVATE KEY-----
|
||||
MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQC20ZrpUqogm+Xf
|
||||
AOJY8dl236kYaW4Gj9DrDR9cIY5xv4tkVqALPOYRypy7vN8+vtHPtO/bI1QPQ0nE
|
||||
cR4dI7PPyscMlM6O0ug5Hdx+y72eR1b7RcDr3FXaQvYyz7m7duUAZVe2qPfQQf2m
|
||||
/6k8IK00nAwKPQMv5saH4ZLySr0aSDtH8shVpckse2hCebUcr6+X+afH229coO1o
|
||||
UwZ/Vqhx2WJJaWUkMJ9fm2pXteATigrOqBBUiPR+eSQ7+SdN9HucY6fTlkB3sP5+
|
||||
7WR550HzX/+dF+wvUG8whMRk6Im0L232K2Kao7Cj0k468l1lk8cS0X+fEXXQKi9X
|
||||
xJOny8mVAgMBAAECggEBAIAqeDjk3CJaSRBK9WQ3wSYmbMyRdTIiduuiWn7jg5JZ
|
||||
H6brV+4o9n44liLDqZq6eirshU8S+GZu3PNb/imdkvy1A1DdreXRFD6eoas+uKOT
|
||||
DfbAkxyHbqTCVwmOOX6kPq1FXvXOhVU6PlJqX8GoguUkFQjEd0yItFwklzlHjkUy
|
||||
eGYm1XmC4JX9bz/IErYqUKCtARQXhLPgbHJs5mKKxoh4l90hH3Ik0lAN2NViIluF
|
||||
rla1PmGBRUtawxX33reSdMIkcs1cep6+VY5Q47KWi5/NmRYGe8hwIHlYiR8KHCn0
|
||||
BRU4skNzGqxOTrlb8rWgIPzw7i3XpocLTtBzRtwyPQECgYEA5x3WNqX6wtE5a8oC
|
||||
2JaKuHzVVQtuRjHVPKBGFNXkkF6GREz2kGvFGMXz2ovOBB4cP+TCuY4tqC9AABcE
|
||||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AV
|
||||
MRMwEQYDVQQDDApzcG90dGVyLnZtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
|
||||
CgKCAQEAttGa6VKqIJvl3wDiWPHZdt+pGGluBo/Q6w0fXCGOcb+LZFagCzzmEcqc
|
||||
u7zfPr7Rz7Tv2yNUD0NJxHEeHSOzz8rHDJTOjtLoOR3cfsu9nkdW+0XA69xV2kL2
|
||||
Ms+5u3blAGVXtqj30EH9pv+pPCCtNJwMCj0DL+bGh+GS8kq9Gkg7R/LIVaXJLHto
|
||||
Qnm1HK+vl/mnx9tvXKDtaFMGf1aocdliSWllJDCfX5tqV7XgE4oKzqgQVIj0fnkk
|
||||
O/knTfR7nGOn05ZAd7D+fu1keedB81//nRfsL1BvMITEZOiJtC9t9itimqOwo9JO
|
||||
OvJdZZPHEtF/nxF10CovV8STp8vJlQIDAQABoycwJTAjBgNVHREEHDAaggpzcG90
|
||||
dGVyLnZtggwqLnNwb3R0ZXIudm0wDQYJKoZIhvcNAQELBQADggEBAEZKlh+Ds4hO
|
||||
mSYx3fWv8m9tfJaEZ38B5+n6SYuyCJMB2A8CTGjDXS7tyGRvdcBFLdYF2u8YPDqI
|
||||
Ra7lTLh1JNQlypROWAN/PA9JT602knF5SjupmlGMTTHtUQgna+geBnw3V3e+IMwS
|
||||
l6m3vSsndE+OFBmNfk2bbA3b7XS0T44PNYOBt1feyPKJ8TVGApakFL3cF1TMMQbq
|
||||
od2lEDxiqmAPmJlyPGJyOSGTT3i12TenDBKhFRTyy7kmu2I+dDO0yPCSfonMTsr3
|
||||
liTAEJHE8xfjd6wygdYU2JWdx8KRCK2RfbDqZ9B11MKY2a3J4M289etJ7hyp6IMt
|
||||
3iJrD0XG1bE=
|
||||
-----END CERTIFICATE-----
|
@ -1,4 +0,0 @@
|
||||
[Interface]
|
||||
ListenPort = 51820
|
||||
PrivateKey = None
|
||||
|
@ -1,8 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Rebuild /etc/issue
|
||||
/usr/bin/vmmgr rebuild-issue
|
||||
# Print /etc/issue
|
||||
/bin/cat /etc/issue
|
||||
# Wait for key press
|
||||
read a
|
Loading…
Reference in New Issue
Block a user