fix lego options
This commit is contained in:
		
							parent
							
								
									2c3a0864da
								
							
						
					
					
						commit
						d542bbd20d
					
				
					 2 changed files with 4 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -5,8 +5,8 @@ cd "$(dirname "$(realpath "$0")")/../"
 | 
			
		|||
 | 
			
		||||
lego \
 | 
			
		||||
--path ./data/.lego \
 | 
			
		||||
	--http.port 8080 \
 | 
			
		||||
	--tls.port 8443 \
 | 
			
		||||
	--http.port :8080 \
 | 
			
		||||
	--tls.port :8443 \
 | 
			
		||||
	--email="acme@base23.de" \
 | 
			
		||||
	--domains="sso.base23.de" \
 | 
			
		||||
	--http renew \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -29,7 +29,6 @@ trap 'printf "\nOperation aborted by user.\n" >&2; exit 1' SIGINT
 | 
			
		|||
 | 
			
		||||
 | 
			
		||||
cd "$(dirname "$(realpath "$0")")/../"
 | 
			
		||||
pwd
 | 
			
		||||
 | 
			
		||||
# Check if .env exists and exit if it is
 | 
			
		||||
[[ -f ./.env ]] && echo ".env already exists. Exiting!" && exit 1 || true
 | 
			
		||||
| 
						 | 
				
			
			@ -52,8 +51,8 @@ echo ""
 | 
			
		|||
echo "Create certificate"
 | 
			
		||||
lego \
 | 
			
		||||
	--path ./data/.lego \
 | 
			
		||||
	--http.port 8080 \
 | 
			
		||||
	--tls.port 8443 \
 | 
			
		||||
	--http.port :8080 \
 | 
			
		||||
	--tls.port :8443 \
 | 
			
		||||
	--email="acme@base23.de" \
 | 
			
		||||
	--domains="sso.base23.de" \
 | 
			
		||||
	--http run
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue