Skip to content

fix(docker): log nginx errors at the error level, as on bare metal - #26462

Merged
TiagoJacobs merged 1 commit into
bigbluebutton:v4.1.x-developfrom
tibroc:fix/nginx-error-log
Nov 24, 2026
Merged

TiagoJacobs merged 1 commit into
bigbluebutton:v4.1.x-developfrom
tibroc:fix/nginx-error-log

Conversation

@tibroc

@tibroc tibroc commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

The nginx image inherits error_log ... notice; from its base image's nginx.conf. At that level, nginx logs using uninitialized "bbb_cors_origin" variable once per request, from the server-level if in bbb-shared-notes-server.nginx. That includes every client's rtt-check, so it is at least 360 lines per user per hour. A package install keeps nginx's default level, error, and does not log it. This sets the level to error in the existing sed of nginx.conf. During one join-path, the warning went from 20 lines to 0; errors are still logged. Reported in the review of #26186. The if itself is left for a separate fix.

The base image's nginx.conf sets the error log to notice. At that level
nginx logs a warning for the uninitialized bbb_cors_origin variable on
every request, e.g. each rtt-check. A package install keeps nginx's
default level, error.
@coderabbitai

coderabbitai Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review: 4

  • v3.0.x-release
  • v3.0.x-develop
  • v4.0.x-release
  • v4.0.x-develop

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: bf30f24a-9a10-450a-b60e-13df39edda47

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

✅ Automated tests have passed!

@TiagoJacobs
TiagoJacobs merged commit e1c6ac3 into bigbluebutton:v4.1.x-develop Nov 24, 2026
50 checks passed
@tibroc
tibroc deleted the fix/nginx-error-log branch November 26, 2026 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants