Templates update

This commit is contained in:
Jamie Curnow 2018-08-17 09:59:02 +10:00
parent 5db1d0f6ab
commit cf417fb658
3 changed files with 12 additions and 12 deletions

View File

@ -1,8 +1,8 @@
{% include "_header_comment.conf" %}
server {
{% include "_listen.conf" %}
{% include "_certificates.conf" %}
{% include "_listen.conf" %}
{% include "_certificates.conf" %}
access_log /data/logs/dead_host-{{ id }}.log proxy;

View File

@ -4,10 +4,10 @@ server {
set $server {{ forward_ip }};
set $port {{ forward_port }};
{% include "_listen.conf" %}
{% include "_certificates.conf" %}
{% include "_assets.conf" %}
{% include "_exploits.conf" %}
{% include "_listen.conf" %}
{% include "_certificates.conf" %}
{% include "_assets.conf" %}
{% include "_exploits.conf" %}
access_log /data/logs/proxy_host-{{ id }}.log proxy;
@ -20,7 +20,7 @@ server {
auth_basic_user_file /config/access/{{ access_list_id }};
{%- endif %}
{% include "_forced_ssl.conf" %}
{% include "_forced_ssl.conf" %}
# Proxy!
include conf.d/include/proxy.conf;

View File

@ -1,10 +1,10 @@
{% include "_header_comment.conf" %}
server {
{% include "_listen.conf" %}
{% include "_certificates.conf" %}
{% include "_assets.conf" %}
{% include "_exploits.conf" %}
{% include "_listen.conf" %}
{% include "_certificates.conf" %}
{% include "_assets.conf" %}
{% include "_exploits.conf" %}
access_log /data/logs/redirection_host-{{ id }}.log proxy;
@ -13,7 +13,7 @@ server {
# TODO: Preserve Path Option
location / {
{% include "_forced_ssl.conf" %}
{% include "_forced_ssl.conf" %}
return 301 $scheme://{{ forward_domain_name }}$request_uri;
}