mirror of
				https://github.com/linuxserver/docker-swag.git
				synced 2025-10-31 21:17:42 +09:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			336 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			336 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| #!/usr/bin/with-contenv bash
 | ||
| # shellcheck shell=bash
 | ||
| 
 | ||
| # samples are removed on init by the nginx base
 | ||
| 
 | ||
| # copy new samples
 | ||
| if [[ -d /defaults/nginx/proxy-confs/ ]]; then
 | ||
|     find /defaults/nginx/proxy-confs/ \
 | ||
|         -maxdepth 1 \
 | ||
|         -name "*.conf.sample" \
 | ||
|         -type f \
 | ||
|         -exec cp "{}" /config/nginx/proxy-confs/ +
 | ||
| fi
 |