Files
Testing/tus-php/docker/server/configs/default.conf
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

42 lines
1009 B
Plaintext

server {
listen 80;
server_name _;
root /var/www/html;
index index.html index.htm index.php;
charset utf-8;
location = /favicon.ico { log_not_found off; access_log off; }
location = /robots.txt { log_not_found off; access_log off; }
location /files {
try_files $uri $uri/ /server.php?$query_string;
}
sendfile off;
client_max_body_size 3000m;
location ~ \.php$ {
fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_intercept_errors off;
fastcgi_buffer_size 128k;
fastcgi_buffers 8 128k;
fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
fastcgi_request_buffering off;
}
error_page 404 /index.php;
location ~ /\.ht {
deny all;
}
}