mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 15:53:33 +00:00 
			
		
		
		
	which has been updated with bookworm, python 3.8, certbot 2.8.0 and node 20 Moved rootfs scripts as /bin is a symlink in bookworm
		
			
				
	
	
		
			12 lines
		
	
	
		
			164 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			164 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| OK=$(curl --silent http://127.0.0.1:81/api/ | jq --raw-output '.status')
 | |
| 
 | |
| if [ "$OK" == "OK" ]; then
 | |
| 	echo "OK"
 | |
| 	exit 0
 | |
| else
 | |
| 	echo "NOT OK"
 | |
| 	exit 1
 | |
| fi
 |