Questions tagged [openbsd-httpd]

The OpenBSD httpd daemon is an HTTP server with FastCGI and TLS support. It is configured in /etc/httpd.conf.

4 questions
2
votes
0 answers

httpd on OpenBSD: How to Redirect URLs Ending In '.php'?

I am running an httpd(8) web server on OpenBSD. php-8.1.9 is used to serve php. In /etc/httpd.conf I have the following (example.com is a placeholder for the actual domain): server "example.com" { listen on * tls port 443 tls { …
2
votes
1 answer

Acquiring a wildcard certificate from Let's Encrypt via `acme-client(1)`

I have a valid certificate from Let's Encrypt that covers both foo.bar and www.foo.bar. I'd like to add a wiki.foo.bar and likely many others in the future, so a wildcard certificate sounds appropriate. My web server is via httpd(8) on OpenBSD 6.8…
jmcph4
  • 121
  • 2
1
vote
1 answer

How to create service/port specific subdomains in OpenBSD vm

I am creating a website in an OpenBSD vm, and I plan to have different services on it that will be pointed to by their respective subdomains (irc.example.com -> example.com:6697, img.example.com -> example.com:80, etc). I also plan on…
1
vote
0 answers

Rewriting user folder url in OpenBSD httpd

I'm using OpenBSD and its httpd. We have a community with users and currently the url to their folder is: example.com/users/username However, what we want is to get example.com/~username This is my rewrite rule: location match "^/users/(.*)"…
ffuentes
  • 111
  • 2