Listen on IPv6 - #178
Conversation
8a5738a to
9bea0d0
Compare
|
matks
left a comment
There was a problem hiding this comment.
Hello it is probably a good idea but there is one thing check:
alpine-base-install.sh has a workaround for newer nginx versions that don't support the http2 keyword inside listen directives
https://github.com/PrestaShop/prestashop-flashlight/blob/main/assets/alpine-base-install.sh#L42
it removes listen 443 ssl http2; and replaces it with separate listen 443 ssl; and http2 on; lines.
But the search-and-replace only targets the exact string
Suggestion fix it, the same sed logic in alpine-base-install.sh should also handle listen [::]:443 ssl http2; and you need to add a # listen [::]:443 ssl; commented line in nginx.conf as fallback equivalent for IPv6.
|



Add
listen [::]:80andlisten [::]:443so flashlight is usable in ipv6 enabled environments.