-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Docker image prestashop/prestashop-flashlight:1.7.8.11-nginx
fails to start due to unknown directive "http2" error
Description
When running the image prestashop/prestashop-flashlight:1.7.8.11-nginx
, the container fails to start with the following log output:
(I used the ngrok example)
prestashop-1 | * No init-script(s) found
prestashop-1 | * Starting php-fpm...
prestashop-1 | * Starting nginx...
prestashop-1 | nginx: [emerg] unknown directive "http2" in /etc/nginx/nginx.conf:51
prestashop-1 | * nginx started
prestashop-1 | * No post-script(s) found
prestashop-1 exited with code 1
Steps to reproduce
cd examples/ngrok-tunnel
# Edit docker image with prestashop/prestashop-flashlight:1.7.8.11-nginx
# or prestashop/prestashop-flashlight@sha256:b48fddbfaab61e7a41b2d2719af38311f0f423b49a17a669c03ddb519c5f9f40
docker compose up prestashop
Expected result
The container should start successfully with nginx running
Actual result
The container exits with code 1 due to an unknown directive "http2" error in /etc/nginx/nginx.conf (line 51)
Possible cause
The http2 directive may not be supported by the nginx build included in this image
Edit:
- ❌
1.7.7.8
- prestashop/prestashop-flashlight:1.7.7.8-nginx
- prestashop/prestashop-flashlight@sha256:08f54c673f7865d3ab07f408acb66baae6c0129791bfc031f53f8be33a294153
- ✅
8.1.7
- prestashop/prestashop-flashlight:8.1.7-nginx
- prestashop/prestashop-flashlight@sha256:742ae104f1b541861fc3e201fa121f468409ec5e995507ed9e2497d9fb9b0c3c
- ✅
8.2.2
- prestashop/prestashop-flashlight:8.2.2-nginx
- prestashop/prestashop-flashlight@sha256:67f257b1e5e28ffd01a2a4c07755d3a5118b5c44b0d1546c79cee6e6a715bd3a
Metadata
Metadata
Assignees
Labels
No labels