dwyl / dwyl/learn-openbsd

Setting Up OpenBSD's httpd Web Server

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue help wanted
Dominant language
No language data
Stars
8
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Apparently the built-in **`httpd`** web server is the way to go on OpenBSD,
Once again Heddi Nabbisen @nabbisen has written a great intro:
https://dev.to/nabbisen/setting-up-openbsds-httpd-web-server-4p9f

curl localhost:80
![image](https://user-images.githubusercontent.com/194400/89224958-4f16d900-d5d1-11ea-8243-82aa20d1579a.png)

Works from Mac to OpenBSD running on VirtualBox
![image](https://user-images.githubusercontent.com/194400/89227464-a454e980-d5d5-11ea-9a1a-d4bef08a5748.png)

Thanks to: https://2buntu.com/articles/1513/accessing-your-virtualbox-guest-from-your-host-os
(_accessing OpenBSD running on VirtualBox is the same as accessing any other OS_)

Official docs: https://man.openbsd.org/httpd.conf.5

# Todo

+ [ ] Figure out how to run an Elixir App (without DB) on TCP Port 4000 and forward HTTP requests to it

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.