| | |
| | | |
| | | root {apps_vhost_dir}; |
| | | |
| | | client_max_body_size 20M; |
| | | client_max_body_size 100M; |
| | | |
| | | location / { |
| | | index index.php index.html; |
| | | } |
| | | |
| | | # serve static files directly |
| | | location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt)$ { |
| | | location ~* ^.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt)$ { |
| | | access_log off; |
| | | } |
| | | |
| | |
| | | fastcgi_pass unix:{fpm_socket}; |
| | | fastcgi_index index.php; |
| | | fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; |
| | | fastcgi_param PATH_INFO $fastcgi_script_name; |
| | | #fastcgi_param PATH_INFO $fastcgi_script_name; |
| | | fastcgi_buffer_size 128k; |
| | | fastcgi_buffers 256 4k; |
| | | fastcgi_busy_buffers_size 256k; |
| | |
| | | fastcgi_buffers 256 4k; |
| | | fastcgi_busy_buffers_size 256k; |
| | | fastcgi_temp_file_write_size 256k; |
| | | fastcgi_read_timeout 240; |
| | | fastcgi_read_timeout 1200; |
| | | } |
| | | location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ { |
| | | root /usr/share/; |