mirror of
				https://github.com/cinnyapp/cinny.git
				synced 2025-11-04 06:20:28 +03: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…
	
	Add table
		Add a link
		
	
		Reference in a new issue