mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 05:52:55 +00:00 
			
		
		
		
	Fix nginx config for Angular
This commit is contained in:
		@@ -15,7 +15,8 @@ server {
 | 
				
			|||||||
    include ${TFW_NGINX_COMPONENTS}/*.conf;
 | 
					    include ${TFW_NGINX_COMPONENTS}/*.conf;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    location / {
 | 
					    location / {
 | 
				
			||||||
 | 
					        index index.html;
 | 
				
			||||||
 | 
					        try_files $uri $uri/ /index.html =404;
 | 
				
			||||||
        root ${TFW_FRONTEND_DIR};
 | 
					        root ${TFW_FRONTEND_DIR};
 | 
				
			||||||
        try_files $uri $uri/ index.html;
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user