/[smecontribs]/rpms/zabbix/contribs9/zabbix-nginx.conf
ViewVC logotype

Annotation of /rpms/zabbix/contribs9/zabbix-nginx.conf

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Thu May 14 03:38:48 2020 UTC (4 years, 5 months ago) by jpp
Branch: MAIN
CVS Tags: zabbix-4_4_6-2_el6_sme, zabbix-4_4_6-1_el6_sme, zabbix-4_4_6-1_el6, HEAD
import

1 jpp 1.1 server {
2     # listen 80;
3     # server_name example.com;
4    
5     root /usr/share/zabbix;
6    
7     index index.php;
8    
9     location = /favicon.ico {
10     log_not_found off;
11     }
12    
13     location / {
14     try_files $uri $uri/ =404;
15     }
16    
17     location /assets {
18     access_log off;
19     expires 10d;
20     }
21    
22     location ~ /\.ht {
23     deny all;
24     }
25    
26     location ~ /(api\/|conf[^\.]|include|locale) {
27     deny all;
28     return 404;
29     }
30    
31     location ~ [^/]\.php(/|$) {
32     fastcgi_pass unix:/run/php-fpm/zabbix.sock;
33     fastcgi_split_path_info ^(.+\.php)(/.+)$;
34     fastcgi_index index.php;
35    
36     fastcgi_param DOCUMENT_ROOT /usr/share/zabbix;
37     fastcgi_param SCRIPT_FILENAME /usr/share/zabbix$fastcgi_script_name;
38     fastcgi_param PATH_TRANSLATED /usr/share/zabbix$fastcgi_script_name;
39    
40     include fastcgi_params;
41     fastcgi_param QUERY_STRING $query_string;
42     fastcgi_param REQUEST_METHOD $request_method;
43     fastcgi_param CONTENT_TYPE $content_type;
44     fastcgi_param CONTENT_LENGTH $content_length;
45    
46     fastcgi_intercept_errors on;
47     fastcgi_ignore_client_abort off;
48     fastcgi_connect_timeout 60;
49     fastcgi_send_timeout 180;
50     fastcgi_read_timeout 180;
51     fastcgi_buffer_size 128k;
52     fastcgi_buffers 4 256k;
53     fastcgi_busy_buffers_size 256k;
54     fastcgi_temp_file_write_size 256k;
55     }
56     }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed