17 lines
		
	
	
		
			448 B
		
	
	
	
		
			Django/Jinja
		
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			448 B
		
	
	
	
		
			Django/Jinja
		
	
	
| {{ ansible_header | comment }}
 | |
| server {
 | |
|         listen [{{ horde.ipv6 }}]:80;
 | |
|         server_name {{ horde.admin_src_hostname }} {{ horde.src_hostname }};
 | |
| 
 | |
|         root /usr/share/;
 | |
|         location / {
 | |
|             return 302 https://{{ horde.dest_hostname }}/horde;
 | |
|         }
 | |
|         include "snippets/php.conf";
 | |
| 
 | |
|         set_real_ip_from {{ horde.zone_ipv4 }};
 | |
|         set_real_ip_from {{ horde.zone_ipv6 }};
 | |
|         real_ip_header P-Real-Ip;
 | |
| }
 | |
| 
 |