webby

command module
v0.0.0-...-1ee5563 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2024 License: MIT Imports: 6 Imported by: 0

README

webby

Web server with some logging and whatever else I end up adding. To use just put all your website into the /srv/webby/website directory, for each directory located within if it contains an index.html file that will be served for requests to the directory, e.g. https://an-prata.it/ serves the file /srv/webby/website/index.html. For serving HTTPS requests you can add paths to your certificate and key files in the config. I also added this funny thing I'm calling dead responses, I was getting a couple bot probing requests on my server and thought it would be funny to redirect those requests back onto the client requesting them. This way on the slim chance they're vulnrable to their own attack they might just shoot themselves in the foot :D.

Installing

I maintain an AUR package for webby:

yay -S webby-git

webby.service

In the root of this repo there is a unit file named webby.service. If you install the AUR package this gets moved to /usr/lib/systemd/system/. If you do not install from the AUR you should move this file to /etc/systemd/system/, see https://wiki.archlinux.org/title/systemd#Writing_unit_files.

Configuring

Basic configuration can be done with the /etc/webby/config.json file. If this file is absent webby will use a default configuration. The default configuration may also be written to file using the command webby -gen-config.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL