-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bitnami/nginx] stream server blocks #72353
[bitnami/nginx] stream server blocks #72353
Conversation
Signed-off-by: TrueGameover <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much for this PR! Please check my comments
bitnami/nginx/1.27/debian-12/rootfs/opt/bitnami/nginx/conf/nginx.conf
Outdated
Show resolved
Hide resolved
Signed-off-by: TrueGameover <[email protected]>
@@ -208,6 +208,10 @@ nginx_initialize() { | |||
fi | |||
nginx_configure "absolute_redirect" "$(is_boolean_yes "$NGINX_ENABLE_ABSOLUTE_REDIRECT" && echo "on" || echo "off" )" | |||
nginx_configure "port_in_redirect" "$(is_boolean_yes "$NGINX_ENABLE_PORT_IN_REDIRECT" && echo "on" || echo "off" )" | |||
|
|||
if [[ "${NGINX_ENABLE_STREAM}" != "no" ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can use this instead:
if [[ "${NGINX_ENABLE_STREAM}" != "no" ]]; then | |
if is_boolean_yes "$NGINX_ENABLE_STREAM"; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, I changed it
Signed-off-by: TrueGameover <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much! LGTM
@TrueGameover we just released new image versions ( |
Description of the change
Allow autoload stream servers configs from /opt/bitnami/nginx/conf/stream_server_blocks as /opt/bitnami/nginx/conf/server_blocks
Benefits
Conveniently load stream configurations. It's not available now.
Possible drawbacks
no
Applicable issues
Additional information