mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
Polish
This commit is contained in:
parent
6783ffb0c1
commit
c1938f949d
@ -9,8 +9,6 @@ services:
|
||||
- ./letsencrypt:/etc/letsencrypt
|
||||
depends_on:
|
||||
- db
|
||||
links:
|
||||
- db
|
||||
db:
|
||||
image: mariadb
|
||||
restart: always
|
||||
|
@ -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 {
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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 }}
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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 }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user