all repos — clipunk-web @ 7b2014f73f9ccd44f17d5fa7a94a84fb40764dd4

Config files for (futur) CLIPunk/Tile server

Add Caddyfile
Tim Izzo tim@octree.ch
Wed, 30 Oct 2024 19:54:24 +0100
commit

7b2014f73f9ccd44f17d5fa7a94a84fb40764dd4

parent

b4cee6fe825ea183622ef4d68cbeeaa9744092c3

1 files changed, 20 insertions(+), 0 deletions(-)

jump to
A Caddyfile

@@ -0,0 +1,20 @@

+:80 { + # Set this path to your site's directory. + root * /var/www/html + + # Enable the static file server. + file_server + + redir / /README.md + + templates + @markdown path *.md + rewrite @markdown /template.html + + # Another common task is to set up a reverse proxy: + # reverse_proxy localhost:8080 + + # Or serve a PHP site through php-fpm: + # php_fastcgi localhost:9000 +} +