- Mumbai, India
- https://arya.projectsegfau.lt
-
Project Segfault administrator. All my repos are at https://codeberg.org/aryak
- Joined on
2022-09-11
I manged to get it working, the issue was that i didn't add \r in 20 text/gemini part
so instead of printf "20 text/gemini \n"it would be
printf "20 text/gemini \r\n"`
I don't really know, maybe it's a tlsify problem?
could you try latest vger version? The cgi path can be relative to the base directories / vhosts directories.
Using
-c cgi-bin
…
i am still getting invalid headers error on lagrange and amfora even after switching to haproxy
@solene is it possible to TLS_CLIENT_HASH btw? seems its needed for a lot of gemini cgi applications
Is your amfora error specific on the CGI page or on all pages?
only on cgi pages
With netcat, I get virtually the same output for both index.gmi and test.cgi
- test.cgi
20 text/gemini;
# Welcome to something idk
- index.gmi
20 text/gemini;
# Welcome …
now i get this error on amfora
Failed to get header: failed to read
header: EOF.
It works perfectly fine with astro (posix shell client) tho.
tlsify tcp4 :11965 tcp4 :1965 /path/to/cert.pem /path/to/privkey.pem
Its a one-liner, but i also did write a blog post about setting up vger which you might be interested in :), https://vern.cc/…
yes, that worked. Thank you. I got confused by the no trailing / thing in manpage. If i want to do this for all users, I just add each as a -c argument right