Skip to content

Instantly share code, notes, and snippets.

@xeron
Last active March 5, 2016 01:27
Show Gist options
  • Select an option

  • Save xeron/19fc2a3dd8d22026ee59 to your computer and use it in GitHub Desktop.

Select an option

Save xeron/19fc2a3dd8d22026ee59 to your computer and use it in GitHub Desktop.
nginx php-fpm zabbix
server {
listen 80;
server_name zabbix.lan;
access_log /opt/brew/var/log/nginx/zabbix_access.log;
error_log /opt/brew/var/log/nginx/zabbix_error.log;
root /Users/xeron/workspace/devel/zabbix/frontends/php;
index index.php index.html index.htm;
client_max_body_size 64m;
client_body_timeout 60;
location / {
index index.php;
}
location ~ \.php$ {
proxy_read_timeout 3600;
fastcgi_read_timeout 3600;
include fastcgi.conf;
fastcgi_pass 127.0.0.1:9000;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment