Last active
March 5, 2016 01:27
-
-
Save xeron/19fc2a3dd8d22026ee59 to your computer and use it in GitHub Desktop.
nginx php-fpm zabbix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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