Closed o3o closed 3 years ago
That's serving embedded httpd, not scgi...
must have to do with the dub subconfiguration or something
the config aslo says ~>8.2.0
but the stack trace shows 9.3.1
. are you sure you're running the same build?
I'm sorry, I've copied wrong file This is the right one
name "arsd_cgi_test"
description "Arsd CGI examples"
authors "o3o"
copyright "Copyright © 2021, o3o"
dependency "arsd-official:cgi" version="~>9.3.1"
dependency "tinyredis" version="~>2.2.1"
dependency "tinyredis_util" version="~>0.4.0"
versions "embedded_httpd"
/*
- embedded_httpd for the embedded httpd version (built-in web server). This is the default.
- cgi for traditional cgi binaries.
- fastcgi for FastCGI builds.
- scgi for SCGI builds
*/
subConfiguration "arsd-official:cgi" "scgi"
why is this there?
versions "embedded_httpd"
because I'm an idiot ...removed and now works! I'm sorry for the inconvenience
Thank you
oh it happens
nowadays i actually compile in all the options so instead of the versions i might suggest new code call the functions directly. but im not quite ready to document that yet lol
I have a server with this simple program
My dub.sdl
I use nginx, my nginx.conf
So, I start app in server 192.168.221.113
when I open
http://192.168.221.113/
in my browser:Thank you