Projekt

Obecné

Profil

Stáhnout (686 Bajtů) Statistiky
| Větev: | Revize:
1
server {
2
    listen 80 default_server;
3
    listen [::]:80 default_server ipv6only=on;
4

    
5
    server_name heatmap.zcu.cz www.heatmap.zcu.cz;
6
    root /var/www/symfony/public;
7
    index index.php index.html index.htm;
8

    
9
    location / {
10
        try_files $uri $uri/ /index.php$is_args$args;
11
    }
12

    
13
    location ~ \.php$ {
14
        try_files $uri /index.php =404;
15
        fastcgi_pass php-upstream;
16
        fastcgi_index index.php;
17
        fastcgi_buffers 16 16k;
18
        fastcgi_buffer_size 32k;
19
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
20
        fastcgi_read_timeout 600;
21
        include fastcgi_params;
22
    }
23

    
24
    location ~ /\.ht {
25
        deny all;
26
    }
27
}
    (1-1/1)