DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 17th February 2016
epitaxial epitaxial is offline
Port Guard
 
Join Date: Feb 2015
Posts: 21
Default relayd or ngnix for subdomains?

I'm trying to understand which of these two programs would be best for my application. I have an http server on my private lan with only one port open to the outside. I would like to have incoming http requests forwarded to different subdomains on different ports. For example:

www.domain.com -> localhost:800
sub1.domain.com -> localhost:801
sub2.domain.com -> localhost:802

Any thoughts?
Reply With Quote
  #2   (View Single Post)  
Old 23rd February 2016
epitaxial epitaxial is offline
Port Guard
 
Join Date: Feb 2015
Posts: 21
Default

Actually pound is what I was looking for http://www.apsis.ch/pound/
Reply With Quote
  #3   (View Single Post)  
Old 23rd February 2016
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,319
Default

Quote:
Originally Posted by epitaxial View Post
Actually pound is what I was looking for http://www.apsis.ch/pound/
...which already has an official port available -- www/pound.
Reply With Quote
  #4   (View Single Post)  
Old 24th February 2016
Oko's Avatar
Oko Oko is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 1,102
Default

Quote:
Originally Posted by epitaxial View Post
I'm trying to understand which of these two programs would be best for my application. I have an http server on my private lan with only one port open to the outside. I would like to have incoming http requests forwarded to different subdomains on different ports. For example:

www.domain.com -> localhost:800
sub1.domain.com -> localhost:801
sub2.domain.com -> localhost:802

Any thoughts?
Sorry didn't see you post. I would go with relayd now. If you asked the same question year ago the answer would be different. It would be nginx since at that time relayd didn't have that functionality
https://marc.info/?l=openbsd-misc&m=140508090726719&w=2
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Relayd as a HTTPS client e1-531g OpenBSD Security 4 11th January 2016 07:11 PM
Strong cipher config for relayd e1-531g OpenBSD Security 1 5th September 2015 03:05 AM
relayd gpatrick OpenBSD General 0 8th May 2012 10:10 PM
relayd gpatrick OpenBSD General 1 16th January 2010 12:19 AM
relayd won't work with multiple relays d0z3r OpenBSD General 0 26th June 2008 09:58 AM


All times are GMT. The time now is 10:51 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick