Fix HTTP3 caddy, update TF2

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
2025-09-08 00:07:41 +02:00
parent d8d00cbd24
commit 897be921a6
6 changed files with 23 additions and 14 deletions

View File

@@ -16,12 +16,12 @@ www.{$MAIN_DOMAIN} {
redir https://www.{host}{uri} permanent redir https://www.{host}{uri} permanent
} }
#public.{$MAIN_DOMAIN} { public.{$MAIN_DOMAIN} {
# root * /public_data root * /public_data
# file_server browse file_server browse
#
# header / { header / {
# Cache-Control "no-store" Cache-Control "no-store"
# import header_common import header_common
# } }
#} }

View File

@@ -1,5 +1,9 @@
torrent.{$MAIN_DOMAIN} { torrent.{$MAIN_DOMAIN} {
reverse_proxy qbittorrent:8080 reverse_proxy qbittorrent:8080
header {
Cache-Control "no-store"
import header_common
}
} }
qbittorrent.{$MAIN_DOMAIN} { qbittorrent.{$MAIN_DOMAIN} {

View File

@@ -10,8 +10,10 @@ services:
condition: service_completed_successfully condition: service_completed_successfully
restart: on-failure:5 restart: on-failure:5
ports: ports:
- 80:80 - 80:80/tcp
- 443:443 - 80:80/udp
- 443:443/tcp
- 443:443/udp
volumes: volumes:
- caddy_data:/data:rw - caddy_data:/data:rw
- caddy_config:/config:rw - caddy_config:/config:rw

View File

@@ -19,6 +19,7 @@ services:
volumes: volumes:
- qbittorrent_config:/config - qbittorrent_config:/config
- public_data:/downloads - public_data:/downloads
- private_data:/private_downloads
networks: networks:
- infra-network - infra-network
security_opt: security_opt:

View File

@@ -1,7 +1,7 @@
services: services:
# Team Fortress 2 server # Team Fortress 2 server
teamfortress2_server: teamfortress2_server:
image: cm2network/tf2:latest-x64 image: cm2network/tf2:sourcemod-x64
container_name: teamfortress2_server container_name: teamfortress2_server
profiles: profiles:
- teamfortress2_server - teamfortress2_server

View File

@@ -3,6 +3,8 @@ SRCDS_PW=linuxmasterrace
SRCDS_PORT=27015 SRCDS_PORT=27015
SRCDS_MAXPLAYERS=32 SRCDS_MAXPLAYERS=32
SRCDS_REGION=3 SRCDS_REGION=3
SRCDS_STARTMAP=pl_badwater SRCDS_STARTMAP=pl_goldrush
#SRCDS_MAPCYCLE="mapcycle_default.txt"
#pl_badwater
SRCDS_CFG=server.cfg SRCDS_CFG=server.cfg
SRCDS_SECURED=0 SRCDS_SECURED=0