mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-09 16:45:05 +02:00
Introduced new HTTP_INDEX_FILE variable to control index page
This commit is contained in:
@ -3,7 +3,7 @@ server {
|
||||
listen [::]:8080;
|
||||
|
||||
server_name zabbix;
|
||||
index index.php;
|
||||
index {HTTP_INDEX_FILE};
|
||||
|
||||
access_log /var/log/nginx/access.log main;
|
||||
error_log /var/log/nginx/error.log notice;
|
||||
@ -51,7 +51,6 @@ server {
|
||||
fastcgi_pass unix:/tmp/php-fpm.sock;
|
||||
|
||||
fastcgi_param SCRIPT_FILENAME $webroot$fastcgi_script_name;
|
||||
fastcgi_index index.php;
|
||||
include fastcgi_params;
|
||||
}
|
||||
|
||||
@ -65,7 +64,7 @@ server {
|
||||
try_files $fastcgi_script_name =404;
|
||||
|
||||
fastcgi_pass unix:/tmp/php-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_index {HTTP_INDEX_FILE};
|
||||
|
||||
fastcgi_param DOCUMENT_ROOT $webroot;
|
||||
fastcgi_param SCRIPT_FILENAME $webroot$fastcgi_script_name;
|
||||
|
@ -5,7 +5,7 @@ server {
|
||||
server_name zabbix;
|
||||
server_name_in_redirect off;
|
||||
|
||||
index index.php;
|
||||
index {HTTP_INDEX_FILE};
|
||||
access_log /var/log/nginx/access.log main;
|
||||
error_log /var/log/nginx/error.log error;
|
||||
|
||||
@ -70,7 +70,6 @@ server {
|
||||
fastcgi_pass unix:/tmp/php-fpm.sock;
|
||||
|
||||
fastcgi_param SCRIPT_FILENAME $webroot$fastcgi_script_name;
|
||||
fastcgi_index index.php;
|
||||
include fastcgi_params;
|
||||
}
|
||||
|
||||
@ -84,7 +83,7 @@ server {
|
||||
try_files $fastcgi_script_name =404;
|
||||
|
||||
fastcgi_pass unix:/tmp/php-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_index {HTTP_INDEX_FILE};
|
||||
|
||||
fastcgi_param DOCUMENT_ROOT $webroot;
|
||||
fastcgi_param SCRIPT_FILENAME $webroot$fastcgi_script_name;
|
||||
|
Reference in New Issue
Block a user