Skip to content

Commit fb8d6e5

Browse files
committed
Add IPv6 support to default.conf.template for OSS/Plus images
The OSS and Plus base images were missing IPv6 support. The nginx base image's IPv6 enabler script modifies /etc/nginx/conf.d/default.conf, but the template processing (which runs after) overwrites this file, removing the IPv6 listen directive. This fix adds both IPv4 and IPv6 listen directives directly to the source template, ensuring they are present in the final configuration for OSS and Plus image variants. Fixes #453 Signed-off-by: Jesse Awan <jesse.awan@sap.com>
1 parent eb46cd7 commit fb8d6e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

common/etc/nginx/templates/default.conf.template

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ js_set $awsSessionToken awscredentials.sessionToken;
3232
js_set $s3uri s3gateway.s3uri;
3333

3434
server {
35+
listen 80;
36+
listen [::]:80;
3537
include /etc/nginx/conf.d/gateway/server_variables.conf;
3638

3739
# Don't display the NGINX version number because we don't want to reveal

0 commit comments

Comments
 (0)