Fix IPv6 support for the Docker container (#1884)

* Fix `docker-nginx.conf` indentation

* Listen on IPv4 and IPv6 inside Docker
This commit is contained in:
utf 2024-08-23 12:56:03 +02:00 committed by GitHub
parent 22b7f6dd7d
commit 5c9ee1a988
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,8 +1,11 @@
server {
location / {
root /usr/share/nginx/html;
listen 80;
listen [::]:80;
rewrite ^/config.json$ /config.json break;
location / {
root /usr/share/nginx/html;
rewrite ^/config.json$ /config.json break;
rewrite ^/manifest.json$ /manifest.json break;
rewrite ^.*/olm.wasm$ /olm.wasm break;
@ -12,5 +15,5 @@ server {
rewrite ^/assets/(.*)$ /assets/$1 break;
rewrite ^(.+)$ /index.html break;
}
}
}
}