redirect /calendar to the Nextcloud calendar to make this location work
Apparently this location gets used in several locations, so create a redirect.
This commit is contained in:
		
					parent
					
						
							
								dc4cc0469d
							
						
					
				
			
			
				commit
				
					
						ca65a4940c
					
				
			
		
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -83,6 +83,11 @@
 | 
				
			||||||
        return = "302 https://$host/blog/index.xml";
 | 
					        return = "302 https://$host/blog/index.xml";
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      # Redirect /calendar to the Nextcloud calendar, as this location apparently gets used in several locations.
 | 
				
			||||||
 | 
					      locations."/calendar" = {
 | 
				
			||||||
 | 
					        return = "302 https://cloud.hamburg.ccc.de/apps/calendar/embed/QJAdExziSnNJEz5g";
 | 
				
			||||||
 | 
					      };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      extraConfig = ''
 | 
					      extraConfig = ''
 | 
				
			||||||
        # Make use of the ngx_http_realip_module to set the $remote_addr and
 | 
					        # Make use of the ngx_http_realip_module to set the $remote_addr and
 | 
				
			||||||
        # $remote_port to the client address and client port, when using proxy
 | 
					        # $remote_port to the client address and client port, when using proxy
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue