mirror of
https://github.com/librenms/docker.git
synced 2026-07-22 17:58:17 +00:00
Fix CVE-2019-11043 (#43)
This commit is contained in:
parent
31594a783f
commit
616d2b901e
2 changed files with 14 additions and 9 deletions
|
|
@ -1,5 +1,9 @@
|
|||
# Changelog
|
||||
|
||||
## 1.56-RC2 (2019/10/25)
|
||||
|
||||
* Fix CVE-2019-11043
|
||||
|
||||
## 1.56-RC1 (2019/09/30)
|
||||
|
||||
* LibreNMS 1.56
|
||||
|
|
|
|||
|
|
@ -60,15 +60,6 @@ http {
|
|||
## Serve already compressed files directly, bypassing on-the-fly compression
|
||||
gzip_static on;
|
||||
|
||||
## FastCGI
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
include fastcgi_params;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_buffers 256 4k;
|
||||
fastcgi_intercept_errors on;
|
||||
fastcgi_read_timeout 14400;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
|
@ -85,7 +76,17 @@ http {
|
|||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
fastcgi_split_path_info ^(.+\.php)(/.*)$;
|
||||
set $path_info $fastcgi_path_info;
|
||||
try_files $fastcgi_script_name =404;
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param PATH_INFO $path_info;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_pass unix:/var/run/php-fpm7.sock;
|
||||
fastcgi_buffers 256 4k;
|
||||
fastcgi_intercept_errors on;
|
||||
fastcgi_read_timeout 14400;
|
||||
}
|
||||
|
||||
location ~ /\.ht {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue