No nginx configuration for FreeBSD
This commit is contained in:
		
							parent
							
								
									064326e4ea
								
							
						
					
					
						commit
						d04ef6209c
					
				@ -1770,6 +1770,12 @@ _EOF_
 | 
			
		||||
 | 
			
		||||
##### nginx
 | 
			
		||||
 | 
			
		||||
case $OS in
 | 
			
		||||
 | 
			
		||||
    FreeBSD)
 | 
			
		||||
    ;;
 | 
			
		||||
 | 
			
		||||
Debian)
 | 
			
		||||
        echo "[*] Adding Nginx configuration"
 | 
			
		||||
        osSudo "${ROOT_USER}" install -c -o "${ROOT_USER}" -g "${ROOT_GROUP}" -m 644 "${MEMPOOL_HOME}/${MEMPOOL_REPO_NAME}/production/nginx/nginx.conf" "${NGINX_CONFIGURATION}"
 | 
			
		||||
        mkdir -p /var/cache/nginx/services /var/cache/nginx/api
 | 
			
		||||
@ -1788,6 +1794,8 @@ echo "[*] Read tor v3 onion hostnames"
 | 
			
		||||
        fi
 | 
			
		||||
        echo "[*] Restarting Nginx"
 | 
			
		||||
        osSudo "${ROOT_USER}" service nginx restart
 | 
			
		||||
    ;;
 | 
			
		||||
esac
 | 
			
		||||
 | 
			
		||||
##### OS systemd
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user