mirror of
https://github.com/cinnyapp/cinny.git
synced 2024-11-20 06:49:52 +01:00
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:
parent
22b7f6dd7d
commit
5c9ee1a988
1 changed files with 8 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue