tkr/tkr-nginx.conf
2025-05-26 10:41:14 -04:00

23 lines
574 B
Plaintext

server {
listen 80 default_server;
root /app/public;
index index.php index.html index.htm;
location ~ \.php$ {
fastcgi_pass php:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
include fastcgi_params;
}
location / {
try_files $uri $uri/ =404;
}
location ~* \.(htaccess|env|ini|log|bak)$ {
deny all;
}
}