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