8 lines
310 B
Plaintext
8 lines
310 B
Plaintext
# Include inside each server that should render Markdown.
|
|
# Configure the shared MD2HTML path and PHP-FPM endpoint for this machine.
|
|
location ~* \.md$ {
|
|
include fastcgi_params;
|
|
fastcgi_param SCRIPT_FILENAME /storage/tpsoft.org/MD2HTML/src/md2html.php;
|
|
fastcgi_pass unix:/run/php/php8.4-fpm.sock;
|
|
}
|