server {

  listen      <%= @web_port %>;
  index       index.php;
  root        <%= @web_dir %>;
  server_name "";
  
  access_log /var/log/nginx/zabbix.access.log;

  location / {
    rewrite ^(.*)$ /index.php last;
  }

  location ~ .*\.php$ {
    include /etc/nginx/fastcgi_params;
    fastcgi_read_timeout 60000;
    fastcgi_buffers 512 16k;
    fastcgi_pass   127.0.0.1:9000;
    fastcgi_index   index.php;
    fastcgi_param PHP_VALUE "date.timezone='<%= @timezone %>'";
    fastcgi_param SCRIPT_FILENAME <%=@web_dir%>$fastcgi_script_name;
  }
}

server {

  listen      <%= @web_port %>;
  index       index.php;
  root        <%= @web_dir %>;
  server_name "";
  
  access_log /var/log/nginx/zabbix.access.log;

  location ~ .*\.php$ {
    include /etc/nginx/fastcgi_params;
    fastcgi_read_timeout 60000;
    fastcgi_buffers 512 16k;
    fastcgi_pass   127.0.0.1:9000;
    fastcgi_index   index.php;
    fastcgi_param PHP_VALUE "date.timezone='<%= @timezone %>'";
    fastcgi_param SCRIPT_FILENAME <%=@web_dir%>$fastcgi_script_name;
  }
}

Fix zabbix nginx site template so that css/js are rendered properly
Fix zabbix nginx site template so that css/js are rendered properly
