squash! move caddy to separate dir
This commit is contained in:
parent
d7b232d7c2
commit
af21cb5fc6
2 changed files with 65 additions and 0 deletions
51
services/caddy/Caddyfile
Normal file
51
services/caddy/Caddyfile
Normal file
|
@ -0,0 +1,51 @@
|
|||
{
|
||||
layer4 {
|
||||
:222 {
|
||||
@a ssh
|
||||
route @a {
|
||||
proxy 10.24.1.9:222
|
||||
}
|
||||
}
|
||||
:64738 {
|
||||
route {
|
||||
proxy 10.24.1.4:64738
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
https://collective-conciousness.monster {
|
||||
encode zstd gzip
|
||||
header {
|
||||
Strict-Transport-Security "max-age=31536001; includeSubdomains; preload"
|
||||
}
|
||||
root * /var/www/public
|
||||
file_server {
|
||||
precompressed zstd br gzip
|
||||
}
|
||||
}
|
||||
|
||||
https://git.collective-conciousness.monster {
|
||||
reverse_proxy 10.24.1.9:3000
|
||||
}
|
||||
|
||||
https://obs.collective-conciousness.monster {
|
||||
reverse_proxy 10.24.1.4:5894
|
||||
}
|
||||
|
||||
https://gts.collective-conciousness.monster {
|
||||
# Optional, but recommended, compress the traffic using proper protocols
|
||||
encode zstd gzip
|
||||
|
||||
# The actual proxy configuration to port 8080 (unless you've chosen another port number)
|
||||
reverse_proxy 127.0.0.1:8080 {
|
||||
# Flush immediately, to prevent buffered response to the client
|
||||
flush_interval -1
|
||||
}
|
||||
}
|
||||
|
||||
https://cache.collective-conciousness.monster {
|
||||
encode zstd gzip
|
||||
|
||||
reverse_proxy 10.24.1.4:5020
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue