update changelog & 22222 template

This commit is contained in:
VirtuBox
2019-03-10 20:28:27 +01:00
parent 3c8ba7f056
commit 759f265fc2
2 changed files with 36 additions and 1 deletions

View File

@@ -6,11 +6,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### v3.9.5 - [Unreleased] ### v3.9.5 - [Unreleased]
#### Added
- Nginx module_vts
- Nginx dynamic_tls_records
#### Changed #### Changed
- Update WP-CLI version to 2.1.0 - Update WP-CLI version to 2.1.0
- Update Adminer to 4.6.2 - Update Adminer to 4.6.2
- Update Nginx-build - Update Nginx-build to 1.14.2
- Refactored nginx.conf
#### Fixed #### Fixed

View File

@@ -21,6 +21,12 @@ server {
# HTTP Authentication on port 22222 # HTTP Authentication on port 22222
include common/acl.conf; include common/acl.conf;
# nginx-vts-status
location /vts_status {
vhost_traffic_status_display;
vhost_traffic_status_display_format html;
}
location / { location / {
try_files $uri $uri/ /index.php$is_args$args; try_files $uri $uri/ /index.php$is_args$args;
@@ -41,4 +47,27 @@ server {
include fastcgi_params; include fastcgi_params;
fastcgi_pass php72; fastcgi_pass php72;
} }
location /netdata {
return 301 /netdata/;
}
location ~ /netdata/(?<ndpath>.*) {
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_http_version 1.1;
proxy_pass_request_headers on;
proxy_set_header Connection "keep-alive";
proxy_store off;
proxy_pass http://netdata/$ndpath$is_args$args;
gzip on;
gzip_proxied any;
gzip_types *;
}
} }