Creates a quick and direct config for OpenBSD's httpd
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Sean Howard afd4379eb9 Added main file and created readme pirms 4 gadiem
LICENSE Initial commit pirms 4 gadiem
README.md Added main file and created readme pirms 4 gadiem
httpd_conf.sh Added main file and created readme pirms 4 gadiem

README.md

httpd_config

Creates a quick and direct config for OpenBSD's httpd

Can be run via: httpd_conf.sh [fqdn] [/path/to/root] [php]

The php variable adds configs for passing to php-fpm.sock and sets the directory index to index.php

The root must be relative to the chroot (typically /htdocs).

I recently used this for: httpd_conf.sh jackpoint.obscuritus.ca /htdocs/mediawiki php

To generate a config for my mediawiki install for the Jackpoint Wiki I run for a shadowrun game