Need help getting Stikked working on Caddy

I need help getting Stikked (found here GitHub - claudehohl/Stikked: An advanced and beautiful pastebin written in PHP) working)
They have a bunch of examples for various server such as Nginx and Apache (found here Stikked/doc/webserver_sampleconfigs at master · claudehohl/Stikked · GitHub)

I’ve got this already.

DOMAIN {
gzip
root “/mnt/SYNC/Paste/”
fastcgi / /var/run/php-fpm/php-fpm.sock php
log / /mnt/LOGS/access-paste.DOMAIN “{combined} - {common}” {
rotate_size 16
rotate_age 14
rotate_compress
}
errors /mnt/LOGS/error-paste.DOMAIN {
404 /404.html
rotate_size 16
rotate_age 14
rotate_compress
}
}

I’ve looked at the examples and I am just getting really confused.

Any help would be great.

I got it working

I added

rewrite / {
regexp .*
to /index.php
}

to it and it now works.

result is

DOMAIN {
gzip
root “/mnt/SYNC/Paste/”
fastcgi / /var/run/php-fpm/php-fpm.sock php
rewrite / {
regexp .*
to /index.php
}
log / /mnt/LOGS/access-paste.DOMAIN “{combined} - {common}” {
rotate_size 16
rotate_age 14
rotate_compress
}
errors /mnt/LOGS/error-paste.DOMAIN {
404 /404.html
rotate_size 16
rotate_age 14
rotate_compress
}
}

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.