Update config

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
Bensuperpc 2024-04-28 14:22:16 +02:00
parent 8730a32195
commit 88499758d6
No known key found for this signature in database
GPG Key ID: 15D0B1525584D383
3 changed files with 14 additions and 33 deletions

View File

@ -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

View File

@ -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
}

View File

@ -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