feat: add project_root setting
				
					
				
			Allow for overriding the project root from `/app` to something else, such as `/var/www/html`. The default is set within a new `build.defaults.yaml` file which the project specific file is merged into. Fixes #27
This commit is contained in:
		
							parent
							
								
									eeeb70df14
								
							
						
					
					
						commit
						6b5c1b5aee
					
				
					 8 changed files with 19 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
# {{ managedText | raw }}
 | 
			
		||||
 | 
			
		||||
:80
 | 
			
		||||
root * /app/{{ drupal.docroot }}
 | 
			
		||||
root * {{ project_root }}/{{ drupal.docroot }}
 | 
			
		||||
file_server
 | 
			
		||||
php_fastcgi php:9000
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,7 +3,7 @@
 | 
			
		|||
server {
 | 
			
		||||
  server_name _;
 | 
			
		||||
 | 
			
		||||
  root /app/{{ drupal.docroot }};
 | 
			
		||||
  root {{ project_root }}/{{ drupal.docroot }};
 | 
			
		||||
 | 
			
		||||
  location / {
 | 
			
		||||
    try_files $uri /index.php?$query_string;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue