mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-11-03 19:17:29 -05:00 
			
		
		
		
	Fix tests
This commit is contained in:
		
							parent
							
								
									f7c1a51efb
								
							
						
					
					
						commit
						e747a9bb12
					
				@ -8,7 +8,7 @@ route {
 | 
				
			|||||||
		}
 | 
							}
 | 
				
			||||||
		not path */
 | 
							not path */
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	redir @canonicalPath {path}/ 308
 | 
						redir @canonicalPath {http.request.orig_uri.path}/ 308
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	# If the requested file does not exist, try index files
 | 
						# If the requested file does not exist, try index files
 | 
				
			||||||
	@indexFiles {
 | 
						@indexFiles {
 | 
				
			||||||
@ -50,7 +50,7 @@ route {
 | 
				
			|||||||
													"handler": "static_response",
 | 
																		"handler": "static_response",
 | 
				
			||||||
													"headers": {
 | 
																		"headers": {
 | 
				
			||||||
														"Location": [
 | 
																			"Location": [
 | 
				
			||||||
															"{http.request.uri.path}/"
 | 
																				"{http.request.orig_uri.path}/"
 | 
				
			||||||
														]
 | 
																			]
 | 
				
			||||||
													},
 | 
																		},
 | 
				
			||||||
													"status_code": 308
 | 
																		"status_code": 308
 | 
				
			||||||
 | 
				
			|||||||
@ -42,7 +42,7 @@
 | 
				
			|||||||
									"handler": "static_response",
 | 
														"handler": "static_response",
 | 
				
			||||||
									"headers": {
 | 
														"headers": {
 | 
				
			||||||
										"Location": [
 | 
															"Location": [
 | 
				
			||||||
											"{http.request.uri.path}/"
 | 
																"{http.request.orig_uri.path}/"
 | 
				
			||||||
										]
 | 
															]
 | 
				
			||||||
									},
 | 
														},
 | 
				
			||||||
									"status_code": 308
 | 
														"status_code": 308
 | 
				
			||||||
 | 
				
			|||||||
@ -30,7 +30,7 @@ php_fastcgi @api localhost:9000
 | 
				
			|||||||
													"handler": "static_response",
 | 
																		"handler": "static_response",
 | 
				
			||||||
													"headers": {
 | 
																		"headers": {
 | 
				
			||||||
														"Location": [
 | 
																			"Location": [
 | 
				
			||||||
															"{http.request.uri.path}/"
 | 
																				"{http.request.orig_uri.path}/"
 | 
				
			||||||
														]
 | 
																			]
 | 
				
			||||||
													},
 | 
																		},
 | 
				
			||||||
													"status_code": 308
 | 
																		"status_code": 308
 | 
				
			||||||
 | 
				
			|||||||
@ -43,7 +43,7 @@ php_fastcgi localhost:9000 {
 | 
				
			|||||||
									"handler": "static_response",
 | 
														"handler": "static_response",
 | 
				
			||||||
									"headers": {
 | 
														"headers": {
 | 
				
			||||||
										"Location": [
 | 
															"Location": [
 | 
				
			||||||
											"{http.request.uri.path}/"
 | 
																"{http.request.orig_uri.path}/"
 | 
				
			||||||
										]
 | 
															]
 | 
				
			||||||
									},
 | 
														},
 | 
				
			||||||
									"status_code": 308
 | 
														"status_code": 308
 | 
				
			||||||
 | 
				
			|||||||
@ -46,7 +46,7 @@ php_fastcgi localhost:9000 {
 | 
				
			|||||||
									"handler": "static_response",
 | 
														"handler": "static_response",
 | 
				
			||||||
									"headers": {
 | 
														"headers": {
 | 
				
			||||||
										"Location": [
 | 
															"Location": [
 | 
				
			||||||
											"{http.request.uri.path}/"
 | 
																"{http.request.orig_uri.path}/"
 | 
				
			||||||
										]
 | 
															]
 | 
				
			||||||
									},
 | 
														},
 | 
				
			||||||
									"status_code": 308
 | 
														"status_code": 308
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user