Deploying gitweb
parent
57c9012d49
commit
ff48e56837
|
@ -8,6 +8,8 @@ html.templates.chloe
|
||||||
http.server
|
http.server
|
||||||
http.server.dispatchers
|
http.server.dispatchers
|
||||||
http.server.redirection
|
http.server.redirection
|
||||||
|
http.server.static
|
||||||
|
http.server.cgi
|
||||||
furnace.alloy
|
furnace.alloy
|
||||||
furnace.auth.login
|
furnace.auth.login
|
||||||
furnace.auth.providers.db
|
furnace.auth.providers.db
|
||||||
|
@ -82,14 +84,19 @@ SYMBOL: dh-file
|
||||||
<configuration>
|
<configuration>
|
||||||
main-responder set-global ;
|
main-responder set-global ;
|
||||||
|
|
||||||
|
: <gitweb> ( path -- responder )
|
||||||
|
<dispatcher>
|
||||||
|
swap <static> enable-cgi >>default
|
||||||
|
URL" /gitweb.cgi" <redirect-responder> "" add-responder ;
|
||||||
|
|
||||||
: init-production ( -- )
|
: init-production ( -- )
|
||||||
common-configuration
|
common-configuration
|
||||||
<vhost-dispatcher>
|
<vhost-dispatcher>
|
||||||
<factor-website> <factor-boilerplate> "concatenative.org" add-responder
|
<factor-website> <factor-boilerplate> <configuration> "concatenative.org" add-responder
|
||||||
<pastebin> <factor-boilerplate> "paste.factorcode.org" add-responder
|
<pastebin> <factor-boilerplate> <configuration> "paste.factorcode.org" add-responder
|
||||||
<planet> <factor-boilerplate> "planet.factorcode.org" add-responder
|
<planet> <factor-boilerplate> <configuration> "planet.factorcode.org" add-responder
|
||||||
home "docs" append-path <help-webapp> "docs.factorcode.org" add-responder
|
home "docs" append-path <help-webapp> <configuration> "docs.factorcode.org" add-responder
|
||||||
<configuration>
|
home "cgi" append-path <gitweb> "gitweb.factorcode.org" add-responder
|
||||||
main-responder set-global ;
|
main-responder set-global ;
|
||||||
|
|
||||||
: <factor-secure-config> ( -- config )
|
: <factor-secure-config> ( -- config )
|
||||||
|
|
Loading…
Reference in New Issue