21 lines
585 B
Django/Jinja
21 lines
585 B
Django/Jinja
{{ ansible_header | comment }}
|
|
server {
|
|
listen {{ horde.ipv4 }}:80;
|
|
server_name {{ horde.dest_hostname }} {{ horde.admin_dest_hostname }};
|
|
|
|
root /usr/share/;
|
|
location / {
|
|
return 302 {{ horde.redirection }};
|
|
}
|
|
location /horde {
|
|
try_files $uri $uri/ /horde/rampage.php?$args;
|
|
index index.php index.htm index.html;
|
|
}
|
|
include "snippets/php.conf";
|
|
|
|
set_real_ip_from {{ horde.zone_ipv4 }};
|
|
set_real_ip_from {{ horde.zone_ipv6 }};
|
|
real_ip_header P-Real-Ip;
|
|
}
|
|
|