An ergonomic and elegant framework for creating Gemini servers and SCGI apps without needless bloat
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
932 B

; This is a super simple configuration file for testing out SCGI apps with stargazer.
;
; To spin a demo server, first install stargazer with
; cargo install stargazer
;
; and then run this configuration with
; stargazer -c stargazer.ini
;
; Now, when you run your application bound to localhost:1312, any gemini connections to
; gemini://localhost should automatically be forwarded to your application. If you'd like
; to test out path rewriting, change the [localhost:/] header to [localhost:/app], restart
; stargazer, and connect to gemini://localhost/path.
;
; This configuration should be sufficient for any testing, but if you're interested in
; more in-depth configuration, or for using stargazer in production, please see the
; stargazer repository at https://git.sr.ht/~zethra/stargazer/
listen = 0.0.0.0:1965
[:tls]
store = cert
organization = Kochab Test Server
[localhost:/]
scgi = on
scgi-address = localhost:1312