Skip to content

Commit

Permalink
Fix IPv6 support for the Docker container (#1884)
Browse files Browse the repository at this point in the history
* Fix `docker-nginx.conf` indentation

* Listen on IPv4 and IPv6 inside Docker
  • Loading branch information
utf-4096 committed Aug 23, 2024
1 parent 22b7f6d commit 5c9ee1a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions docker-nginx.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
server {
listen 80;
listen [::]:80;

location / {
root /usr/share/nginx/html;
root /usr/share/nginx/html;

rewrite ^/config.json$ /config.json break;
rewrite ^/config.json$ /config.json break;
rewrite ^/manifest.json$ /manifest.json break;

rewrite ^.*/olm.wasm$ /olm.wasm break;
Expand All @@ -12,5 +15,5 @@ server {
rewrite ^/assets/(.*)$ /assets/$1 break;

rewrite ^(.+)$ /index.html break;
}
}
}
}

0 comments on commit 5c9ee1a

Please sign in to comment.