mirror of
				https://github.com/materusPL/nixos-config
				synced 2025-11-03 22:10:28 +01:00 
			
		
		
		
	waffentrager: allow iframe of gitea from nextcloud
This commit is contained in:
		
							parent
							
								
									f242dd700d
								
							
						
					
					
						commit
						45d7f70792
					
				@ -20,6 +20,11 @@
 | 
				
			|||||||
          services.gitea.settings.server.DOMAIN = "baka.materus.pl";
 | 
					          services.gitea.settings.server.DOMAIN = "baka.materus.pl";
 | 
				
			||||||
          services.gitea.settings.server.ROOT_URL = lib.mkForce "https://baka.materus.pl/";
 | 
					          services.gitea.settings.server.ROOT_URL = lib.mkForce "https://baka.materus.pl/";
 | 
				
			||||||
          services.gitea.settings.server.PROTOCOL = "fcgi+unix";
 | 
					          services.gitea.settings.server.PROTOCOL = "fcgi+unix";
 | 
				
			||||||
 | 
					          services.gitea.settings.cors = {
 | 
				
			||||||
 | 
					            ENABLED = true;
 | 
				
			||||||
 | 
					            X_FRAME_OPTIONS = "ALLOW-FROM https://*.materus.pl/";
 | 
				
			||||||
 | 
					          };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          services.gitea.database.type = "postgres";
 | 
					          services.gitea.database.type = "postgres";
 | 
				
			||||||
          services.gitea.database.socket = "/var/run/postgresql/";
 | 
					          services.gitea.database.socket = "/var/run/postgresql/";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user