- Add initializer count logging in DiscoveryServiceBootstrapper - Add route structure analysis in RouterSetup - Add request parameter logging in HttpRouter - Update PHP production config for better OPcache handling - Fix various config and error handling improvements
15 lines
352 B
Bash
Executable File
15 lines
352 B
Bash
Executable File
#!/bin/bash
|
|
# Show Nginx error logs from production server
|
|
# Usage: ./nginx-logs.sh [lines]
|
|
# Default: 50 lines
|
|
|
|
LINES="${1:-50}"
|
|
|
|
echo "📋 Showing last $LINES lines of Nginx error logs from production..."
|
|
echo ""
|
|
|
|
ssh -i ~/.ssh/production deploy@michaelschiemer.de "docker exec web tail -n $LINES /var/log/nginx/error.log"
|
|
|
|
echo ""
|
|
echo "✅ Done!"
|