magpie/miniflux: export url, add https cert
This commit is contained in:
		
							parent
							
								
									b467130209
								
							
						
					
					
						commit
						9e90599099
					
				| @ -76,8 +76,15 @@ | ||||
|   services.openssh.settings.PermitRootLogin = "prohibit-password"; | ||||
|   services.openssh.enable = true; | ||||
|   services.opendkim.enable = true; | ||||
|   services.miniflux.enable = true; | ||||
|   services.miniflux.adminCredentialsFile = config.sops.secrets."miniflux/admin_pass".path; | ||||
| 
 | ||||
|   services.miniflux = { | ||||
| 	  enable = true; | ||||
| 	  adminCredentialsFile = config.sops.secrets."miniflux_env".path; | ||||
| 	  config = { | ||||
| 		LISTEN_ADDR = "localhost:5001"; | ||||
| 		BASE_URL = "https://miniflux.project-cloud.net"; | ||||
| 	  }; | ||||
|   }; | ||||
|   services.restya-board = { | ||||
|     enable = true; | ||||
|     /*virtualHost.serverName = "board.project-cloud.net";*/ | ||||
| @ -119,6 +126,15 @@ | ||||
|       enableACME = true; | ||||
|     }; | ||||
| 
 | ||||
|     virtualHosts."miniflux.project-cloud.net" = { | ||||
|       quic = true; | ||||
|       forceSSL = true; | ||||
|       enableACME = true; | ||||
|       locations."/" = { | ||||
|         proxyPass = "http://localhost:5001"; | ||||
|       }; | ||||
|     }; | ||||
| 
 | ||||
|     virtualHosts.${config.services.gitea.settings.server.DOMAIN} = { | ||||
|       quic = true; | ||||
|       forceSSL = true; | ||||
| @ -188,9 +204,8 @@ | ||||
|     owner = config.users.users.gitea.name; | ||||
|   }; | ||||
| 
 | ||||
|   sops.secrets."miniflux/admin_pass" = { | ||||
|   sops.secrets."miniflux_env" = { | ||||
|     sopsFile = ./secrets/miniflux.yaml; | ||||
|     owner = "miniflux"; | ||||
|   }; | ||||
| 
 | ||||
|   networking.hostName = "magpie"; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user