mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Update nginxproxymanager-install.sh
- add plugin for certbot to obtain certificates using a DNS TXT record for Porkbun domains - fixes https://github.com/tteck/Proxmox/issues/1790
This commit is contained in:
		
							parent
							
								
									273dc38c8a
								
							
						
					
					
						commit
						7f5d708977
					
				| 
						 | 
					@ -30,7 +30,7 @@ $STD apt-get -y install \
 | 
				
			||||||
  git
 | 
					  git
 | 
				
			||||||
msg_ok "Installed Dependencies"
 | 
					msg_ok "Installed Dependencies"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Updating Python"
 | 
					msg_info "Installing Python Dependencies"
 | 
				
			||||||
$STD apt-get install -y \
 | 
					$STD apt-get install -y \
 | 
				
			||||||
  python3 \
 | 
					  python3 \
 | 
				
			||||||
  python3-dev \
 | 
					  python3-dev \
 | 
				
			||||||
| 
						 | 
					@ -38,10 +38,10 @@ $STD apt-get install -y \
 | 
				
			||||||
  python3-venv \
 | 
					  python3-venv \
 | 
				
			||||||
  python3-cffi \
 | 
					  python3-cffi \
 | 
				
			||||||
  python3-certbot \
 | 
					  python3-certbot \
 | 
				
			||||||
  python3-certbot-dns-cloudflare
 | 
					  python3-certbot-dns-cloudflare \
 | 
				
			||||||
 | 
					  pip3 install certbot_dns_porkbun
 | 
				
			||||||
$STD python3 -m venv /opt/certbot/
 | 
					$STD python3 -m venv /opt/certbot/
 | 
				
			||||||
msg_ok "Updated Python"
 | 
					msg_ok "Installed Python Dependencies"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)"
 | 
					VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue