Arya K aryak
aryak opened issue solderpunk/molly-brown#41 2023-04-24 13:39:08 +00:00
Pretty URL support
aryak created pull request team/site#127 2023-02-25 05:18:02 +00:00
Add projectsegfau.lt pubnix to other tildes
aryak created pull request aryak/site#1 2023-02-25 05:17:35 +00:00
Add projectsegfau.lt pubnix to other tildes
aryak created branch aryak-patch-1 in aryak/site 2023-02-25 05:17:28 +00:00
aryak pushed to aryak-patch-1 at aryak/site 2023-02-25 05:17:28 +00:00
b6314d8dfa Add projectsegfau.lt pubnix to other tildes
aryak created repository aryak/site 2023-02-25 05:15:32 +00:00
aryak commented on issue solene/vger#9 2022-09-20 15:59:29 +00:00
Unable to get CGI to work on NixOS

thanks for the work on this issue @solene and @prx!

aryak closed issue solene/vger#9 2022-09-20 15:59:05 +00:00
Unable to get CGI to work on NixOS
aryak commented on issue solene/vger#9 2022-09-20 15:32:27 +00:00
Unable to get CGI to work on NixOS

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 beprintf "20 text/gemini \r\n"`

aryak commented on issue solene/vger#9 2022-09-20 12:37:46 +00:00
Unable to get CGI to work on NixOS

can you share a sample CGI script that i can try on my side?

aryak commented on issue solene/vger#9 2022-09-20 12:29:34 +00:00
Unable to get CGI to work on NixOS

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

aryak commented on issue solene/vger#9 2022-09-20 12:28:15 +00:00
Unable to get CGI to work on NixOS

i am still getting invalid headers error on lagrange and amfora even after switching to haproxy

aryak commented on issue solene/vger#9 2022-09-20 12:10:35 +00:00
Unable to get CGI to work on NixOS

is there any relayd alternative i can use on GNU/Linux?

aryak commented on issue solene/vger#9 2022-09-18 14:57:33 +00:00
Unable to get CGI to work on NixOS

@solene is it possible to TLS_CLIENT_HASH btw? seems its needed for a lot of gemini cgi applications

aryak commented on issue solene/vger#9 2022-09-18 14:24:41 +00:00
Unable to get CGI to work on NixOS

just checked on lagrange, i get an incomplete header error.

aryak commented on issue solene/vger#9 2022-09-18 14:23:02 +00:00
Unable to get CGI to work on NixOS

Is your amfora error specific on the CGI page or on all pages?

only on cgi pages

aryak commented on issue solene/vger#9 2022-09-18 14:19:14 +00:00
Unable to get CGI to work on NixOS

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 …
aryak commented on issue solene/vger#9 2022-09-18 14:16:30 +00:00
Unable to get CGI to work on NixOS

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.

aryak commented on issue solene/vger#9 2022-09-18 14:02:53 +00:00
Unable to get CGI to work on NixOS

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/

aryak commented on issue solene/vger#9 2022-09-18 13:53:05 +00:00
Unable to get CGI to work on NixOS

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