mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 16:54:26 +01:00
Update config
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
8730a32195
commit
88499758d6
@ -1,6 +1,11 @@
|
|||||||
{
|
{
|
||||||
email bensuperpc@gmail.com
|
email bensuperpc@gmail.com
|
||||||
key_type ed25519
|
key_type p384
|
||||||
|
|
||||||
|
log {
|
||||||
|
output file /data/logs/access.log
|
||||||
|
format console
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
import bensuperpc.org/Caddyfile
|
import bensuperpc.org/Caddyfile
|
||||||
|
@ -5,7 +5,7 @@ www.bensuperpc.org {
|
|||||||
file_server
|
file_server
|
||||||
encode zstd gzip
|
encode zstd gzip
|
||||||
|
|
||||||
metrics /metrics
|
#metrics /metrics
|
||||||
|
|
||||||
@disallowed {
|
@disallowed {
|
||||||
path /xmlrpc.php
|
path /xmlrpc.php
|
||||||
@ -30,11 +30,6 @@ www.bensuperpc.org {
|
|||||||
# clickjacking protection
|
# clickjacking protection
|
||||||
X-Frame-Options DENY
|
X-Frame-Options DENY
|
||||||
}
|
}
|
||||||
|
|
||||||
log {
|
|
||||||
output file /data/logs/access.log
|
|
||||||
format console
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bensuperpc.org {
|
bensuperpc.org {
|
||||||
@ -42,21 +37,18 @@ bensuperpc.org {
|
|||||||
}
|
}
|
||||||
|
|
||||||
adminer.bensuperpc.org {
|
adminer.bensuperpc.org {
|
||||||
reverse_proxy adminer:8080
|
#reverse_proxy adminer:8080
|
||||||
}
|
}
|
||||||
|
|
||||||
uptimekuma.bensuperpc.org {
|
uptimekuma.bensuperpc.org {
|
||||||
reverse_proxy uptime-kuma:3001
|
reverse_proxy uptime-kuma:3001
|
||||||
}
|
}
|
||||||
|
|
||||||
portainer.bensuperpc.org {
|
link.bensuperpc.org {
|
||||||
reverse_proxy portainer:9000
|
redir /rickroll https://www.youtube.com/watch?v=dQw4w9WgXcQ permanent
|
||||||
|
redir /babyshark https://www.youtube.com/watch?v=XqZsoesa55w permanent
|
||||||
}
|
}
|
||||||
|
|
||||||
rickroll.bensuperpc.org {
|
#rickroll.bensuperpc.org {
|
||||||
redir https://www.youtube.com/watch?v=dQw4w9WgXcQ permanent
|
# redir https://www.youtube.com/watch?v=dQw4w9WgXcQ permanent
|
||||||
}
|
#}
|
||||||
|
|
||||||
babyshark.bensuperpc.org {
|
|
||||||
redir https://www.youtube.com/watch?v=XqZsoesa55w permanent
|
|
||||||
}
|
|
||||||
|
@ -99,20 +99,6 @@ services:
|
|||||||
- blog-network
|
- blog-network
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
|
|
||||||
portainer:
|
|
||||||
image: portainer/portainer-ce:latest
|
|
||||||
container_name: portainer
|
|
||||||
profiles:
|
|
||||||
- portainer
|
|
||||||
restart: on-failure
|
|
||||||
volumes:
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
- portainer_data:/data
|
|
||||||
networks:
|
|
||||||
- blog-network
|
|
||||||
security_opt:
|
|
||||||
- no-new-privileges:true
|
|
||||||
networks:
|
networks:
|
||||||
blog-network:
|
blog-network:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
@ -129,5 +115,3 @@ volumes:
|
|||||||
name: caddy_config
|
name: caddy_config
|
||||||
uptimekuma_data:
|
uptimekuma_data:
|
||||||
name: uptimekuma_data
|
name: uptimekuma_data
|
||||||
portainer_data:
|
|
||||||
name: portainer_data
|
|
||||||
|
Loading…
Reference in New Issue
Block a user