mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-04 04:08:15 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			281 B
		
	
	
	
		
			Django/Jinja
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			281 B
		
	
	
	
		
			Django/Jinja
		
	
	
	
	
	
server
 | 
						|
{
 | 
						|
  listen 80;
 | 
						|
  listen [::]:80;
 | 
						|
  location /
 | 
						|
  {
 | 
						|
    return 301 https://$host$request_uri;
 | 
						|
  }
 | 
						|
  #letsencrypt
 | 
						|
  location ^~ /.well-known/acme-challenge/ {
 | 
						|
    allow all;
 | 
						|
    root {{ LETSENCRYPT_WEBROOT_PATH }};
 | 
						|
    default_type "text/plain";
 | 
						|
    try_files $uri =404;
 | 
						|
  }
 | 
						|
}
 |