diff --git a/routes/console.php b/routes/console.php index b32bec1..f610227 100644 --- a/routes/console.php +++ b/routes/console.php @@ -18,7 +18,7 @@ Schedule::command('rbl:probe')->weeklyOn(0, '3:30')->withoutOverlapping(); Schedule::command('mail:update-stats')->everyFiveMinutes()->withoutOverlapping(); -Schedule::command('health:probe-disk', ['target' => '/', '--ttl' => 900])->everyTenMinutes(); +Schedule::command('health:probe-disk', ['target' => '/'])->everyTenMinutes(); Schedule::command('health:collect')->everyTenSeconds(); // Backup-Policies dynamisch einplanen diff --git a/scripts/mailwolt-apply-domains b/scripts/mailwolt-apply-domains index bfe0e8b..27eb447 100755 --- a/scripts/mailwolt-apply-domains +++ b/scripts/mailwolt-apply-domains @@ -162,6 +162,22 @@ server { root ${APP_DIR}/public; index index.php index.html; + location /ws/ { + proxy_pass http://127.0.0.1:8080/; + proxy_http_version 1.1; + proxy_set_header Upgrade \$http_upgrade; + proxy_set_header Connection "upgrade"; + proxy_set_header Host \$host; + proxy_set_header X-Real-IP \$remote_addr; + proxy_read_timeout 60s; + } + location /apps/ { + proxy_pass http://127.0.0.1:8080/apps/; + proxy_http_version 1.1; + proxy_set_header Upgrade \$http_upgrade; + proxy_set_header Connection "upgrade"; + proxy_set_header Host \$host; + } location / { try_files \$uri \$uri/ /index.php?\$query_string; } location ~ \.php\$ { include snippets/fastcgi-php.conf;