magpie/nextcloud: change url, nginx: add next-cloud virtualhost
This commit is contained in:
		
							parent
							
								
									9b0f6ef2fc
								
							
						
					
					
						commit
						c7b53551f3
					
				| @ -2,6 +2,7 @@ | |||||||
|   config, |   config, | ||||||
|   pkgs, |   pkgs, | ||||||
|   lib, |   lib, | ||||||
|  |   project-cloud, | ||||||
|   ... |   ... | ||||||
| }: { | }: { | ||||||
|   imports = []; |   imports = []; | ||||||
| @ -105,7 +106,7 @@ | |||||||
|     package = pkgs.nextcloud27; |     package = pkgs.nextcloud27; | ||||||
|     config.adminpassFile = config.sops.secrets."nextcloud_admin".path; |     config.adminpassFile = config.sops.secrets."nextcloud_admin".path; | ||||||
|     configureRedis = true; |     configureRedis = true; | ||||||
|     hostName = "project-cloud.net"; |     hostName = "cloud.project-cloud.net"; | ||||||
|     https = true; |     https = true; | ||||||
|     extraOptions = { |     extraOptions = { | ||||||
|       mail_smtpmode = "sendmail"; |       mail_smtpmode = "sendmail"; | ||||||
| @ -139,6 +140,13 @@ | |||||||
|     recommendedProxySettings = true; |     recommendedProxySettings = true; | ||||||
|     recommendedTlsSettings = true; |     recommendedTlsSettings = true; | ||||||
| 
 | 
 | ||||||
|  |     virtualHosts."project-cloud.net" = { | ||||||
|  |       quic = true; | ||||||
|  |       forceSSL = true; | ||||||
|  |       enableACME = true; | ||||||
|  |       root = "${project-cloud}/public"; | ||||||
|  |     }; | ||||||
|  | 
 | ||||||
|     virtualHosts.${config.services.nextcloud.hostName} = { |     virtualHosts.${config.services.nextcloud.hostName} = { | ||||||
|       quic = true; |       quic = true; | ||||||
|       forceSSL = true; |       forceSSL = true; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user