mirror of
https://github.com/chillpadclub/selfsteal.git
synced 2026-09-13 10:53:09 +00:00
modified: .env
modified: Caddyfile
This commit is contained in:
3
.env
3
.env
@@ -1,2 +1,3 @@
|
||||
SELF_STEAL_DOMAIN=
|
||||
SELF_STEAL_DOMAIN=n
|
||||
SELF_STEAL_DOMAIN_2=
|
||||
SELF_STEAL_PORT=
|
||||
14
Caddyfile
14
Caddyfile
@@ -24,6 +24,18 @@ https://{$SELF_STEAL_DOMAIN} {
|
||||
|
||||
}
|
||||
|
||||
http://{$SELF_STEAL_DOMAIN_2} {
|
||||
bind 0.0.0.0
|
||||
redir https://{$SELF_STEAL_DOMAIN_2}{uri} permanent
|
||||
}
|
||||
|
||||
https://{$SELF_STEAL_DOMAIN_2} {
|
||||
root * /var/www/html
|
||||
try_files {path} /index.html
|
||||
file_server
|
||||
|
||||
}
|
||||
|
||||
|
||||
:{$SELF_STEAL_PORT} {
|
||||
tls internal
|
||||
@@ -33,4 +45,4 @@ https://{$SELF_STEAL_DOMAIN} {
|
||||
#:80 {
|
||||
# bind 0.0.0.0
|
||||
# respond 204
|
||||
#}
|
||||
#}
|
||||
Reference in New Issue
Block a user