This commit is contained in:
Jamie Curnow 2018-08-23 14:24:28 +10:00
parent 6783ffb0c1
commit c1938f949d
6 changed files with 4 additions and 8 deletions

View File

@ -9,8 +9,6 @@ services:
- ./letsencrypt:/etc/letsencrypt
depends_on:
- db
links:
- db
db:
image: mariadb
restart: always

View File

@ -6,9 +6,6 @@ server {
access_log /data/logs/manager.log proxy;
set $server 127.0.0.1;
set $port 81;
include conf.d/include/block-exploits.conf;
location /health {

View File

@ -47,6 +47,7 @@ http {
# HIT
# - (dash) - request never reached to upstream module. Most likely it was processed at Nginx-level only (e.g. forbidden, redirects, etc) (Ref: Mail Thread
log_format proxy '[$time_local] $upstream_cache_status $upstream_status $status - $request_method $scheme $host "$request_uri" [Client $remote_addr] [Length $body_bytes_sent] [Gzip $gzip_ratio] [Sent-to $server] "$http_user_agent" "$http_referer"';
log_format standard '[$time_local] $status - $request_method $scheme $host "$request_uri" [Client $remote_addr] [Length $body_bytes_sent] [Gzip $gzip_ratio] "$http_user_agent" "$http_referer"';
access_log /data/logs/default.log proxy;

View File

@ -4,7 +4,7 @@ server {
{% include "_listen.conf" %}
{% include "_certificates.conf" %}
access_log /data/logs/dead_host-{{ id }}.log proxy;
access_log /data/logs/dead_host-{{ id }}.log standard;
{{ advanced_config }}

View File

@ -4,7 +4,7 @@ server {
listen 80;
server_name {{ domain_names | join: " " }};
access_log /data/logs/letsencrypt-requests.log proxy;
access_log /data/logs/letsencrypt-requests.log standard;
include conf.d/include/letsencrypt-acme-challenge.conf;

View File

@ -6,7 +6,7 @@ server {
{% include "_assets.conf" %}
{% include "_exploits.conf" %}
access_log /data/logs/redirection_host-{{ id }}.log proxy;
access_log /data/logs/redirection_host-{{ id }}.log standard;
{{ advanced_config }}