mirror of
				https://github.com/CPunch/openpunk-ansible.git
				synced 2025-10-31 04:40:12 +00:00 
			
		
		
		
	switched to roles
- all tasks/* have been moved to their own roles in roles/* - each file && template is now oragnized per-role - annotated each task which still isn't idempotent !TODO!
This commit is contained in:
		
							
								
								
									
										11
									
								
								roles/nginx/templates/gitea.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								roles/nginx/templates/gitea.conf
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| server { | ||||
|     server_name git.{{ domain }}; | ||||
|     listen 80; | ||||
|  | ||||
|     location / { | ||||
|         add_header Permissions-Policy interest-cohort=(); | ||||
|         proxy_pass http://localhost:3000; | ||||
|     } | ||||
|  | ||||
|     client_max_body_size 100M; | ||||
| } | ||||
							
								
								
									
										13
									
								
								roles/nginx/templates/site.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								roles/nginx/templates/site.conf
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| server { | ||||
|     server_name {{ domain }}; | ||||
|     listen 80; | ||||
|  | ||||
|     root /var/www/{{ domain }}/public; | ||||
|     index index.html index.htm; | ||||
|  | ||||
|     location / { | ||||
|         add_header Permissions-Policy interest-cohort=(); | ||||
|         add_header Referrer-Policy: "no-referrer"; | ||||
|         try_files $uri $uri/ =404; | ||||
|     } | ||||
| } | ||||
							
								
								
									
										12
									
								
								roles/nginx/templates/tor.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								roles/nginx/templates/tor.conf
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| server { | ||||
|     root /var/www/{{ domain }}/public; | ||||
|     index index.html index.htm; | ||||
|  | ||||
|     location / { | ||||
|         add_header Permissions-Policy interest-cohort=(); | ||||
|         try_files $uri $uri/ =404; | ||||
|     } | ||||
|  | ||||
|     # our tor hidden service is hosted on this port | ||||
|     listen 2171; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user