nginx: redirect git. to .com
This commit is contained in:
		
							parent
							
								
									c40cbf74f3
								
							
						
					
					
						commit
						f8e48e7fa0
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -11,7 +11,7 @@
 | 
				
			||||||
  services.nginx.virtualHosts = lib.mapAttrs'
 | 
					  services.nginx.virtualHosts = lib.mapAttrs'
 | 
				
			||||||
    (key: value: lib.nameValuePair "${key}lelgenio.xyz" value)
 | 
					    (key: value: lib.nameValuePair "${key}lelgenio.xyz" value)
 | 
				
			||||||
    (
 | 
					    (
 | 
				
			||||||
      lib.genAttrs [ "" "social." "blog." "cloud." "mail." ] (name: {
 | 
					      lib.genAttrs [ "" "social." "blog." "cloud." "mail." "git." ] (name: {
 | 
				
			||||||
        enableACME = true;
 | 
					        enableACME = true;
 | 
				
			||||||
        forceSSL = true;
 | 
					        forceSSL = true;
 | 
				
			||||||
        locations."/".return = "301 $scheme://${name}lelgenio.com$request_uri";
 | 
					        locations."/".return = "301 $scheme://${name}lelgenio.com$request_uri";
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue