Creates a quick and direct config for OpenBSD's httpd
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.
httpd_config/README.md

477 B

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