Score:0

มีเว็บเซิร์ฟเวอร์ธรรมดาที่ฉันสามารถใช้สำหรับการเปลี่ยนเส้นทางการรับส่งข้อมูลไปยังโดเมนอื่นเท่านั้นหรือไม่

ธง by

ฉันต้องการให้เซิร์ฟเวอร์ Ubuntu มีขนาดเล็กและเรียบง่ายที่สุดเท่าที่จะเป็นไปได้ แต่ฉันได้รับทราฟฟิก http และ https ที่ควรจะไปที่ไซต์อื่น เซิร์ฟเวอร์นั้นโฮสต์งานอื่นๆ ที่ไม่ใช่ http และฉันไม่ต้องการตั้งค่าเว็บเซิร์ฟเวอร์เต็มรูปแบบที่นั่น ฉันต้องการเปลี่ยนเส้นทางการเข้าชมเว็บอย่างถาวรไปยังเว็บเซิร์ฟเวอร์ที่ถูกต้องซึ่งโฮสต์เว็บไซต์ของเรา แต่ฉันไม่ต้องการติดตั้งเว็บเซิร์ฟเวอร์เต็มรูปแบบ ฉันทราบดีว่าฉันน่าจะต้องการบางอย่างที่จัดการใบรับรองเพื่อให้สามารถเปลี่ยนเส้นทางการรับส่งข้อมูล https ได้

ฉันรับทราบว่าอาจไม่มีวิธีการง่ายๆ ในการดำเนินการนี้นอกจากการติดตั้งและกำหนดค่าเว็บเซิร์ฟเวอร์แบบเต็ม แต่ฉันคิดว่าฉันจะถาม ฉันคิดและหวังว่าสิ่งนี้จะเป็นประโยชน์ต่อชุมชนโดยรวม หรืออย่างน้อยก็สำหรับผู้ที่ไม่คุ้นเคยกับ Ubuntu และแอปพลิเคชันที่มีอยู่ เช่น ตัวฉันเอง

ข้อเสนอแนะใด ๆ ที่จะได้รับการชื่นชมและข้อมูลใด ๆ เกี่ยวกับวิธีการตั้งค่า

ขอขอบคุณ

muru avatar
us flag
Just use nginx. I don't see what the point is here distinguishing between "simple" and "full"
Shaggie avatar
by flag
@muru, basically I do not want or need to ever actually serve any webpages and want to keep the server as small/light as possible since it's hosted offsite. I read about both Apache, and nginx webservers, but am not familiar with either of them, and both feel like they are much heavier (do way more) than what I require. I tried to use google to find something simple to meet my needs. Usually my google-fu is pretty strong, but this time it failed me. In the end, I thought it was better to ask the community for suggestions, especially since they are more familiar with Ubuntu than I.
cn flag
Ray
Sounds like you're trying to do something similar to [this](https://askubuntu.com/questions/708458/configure-iptables-to-redirect-traffic-to-a-specific-ip-address) post. Personally, I don't know how to do it or even if it's a good idea. But you could look around this site for "iptables" for rerouting http traffic. Seems like you end up with a simpler method which ends up being hard to configure and manage. There's a trade-off to doing this instead of using `nginx`, etc.
Shaggie avatar
by flag
@Ray I think I saw that, but I didn't want to hide the redirect from the end user and therefore cause all of that traffic to go through this server. Besides the actual web server I want to redirect to is not hidden behind this Ubuntu server. The Ubuntu server is actually hosted offsite, while the webserver is hosted by us in house. Also, I thought it may be possible that others had this same question and that an explicit response on the topic would help everyone. I do appreciate the suggestion.
Artur Meinild avatar
vn flag
I use [Nginx Proxy Manager](https://nginxproxymanager.com/).
muru avatar
us flag
Out of curiosity, why do you need a redirect? Can't you point the hostname that's getting redirected to your web server? After all, the way you write this, it seems there's nothing to be served from the Ubuntu server .
Shaggie avatar
by flag
@muru. It has other services that was decided that we can't host in house that are accessible from other ports.
cn flag
Ray
Oh, ok. Ask whatever questions you want here, but I wouldn't worry about that last part. I mean the "it might help other people too". It might...but honestly, other people can ask their own question! Everyone has slightly different needs and you should ask what will help you instead of over-thinking it for other people.

โพสต์คำตอบ

คนส่วนใหญ่ไม่เข้าใจว่าการถามคำถามมากมายจะปลดล็อกการเรียนรู้และปรับปรุงความสัมพันธ์ระหว่างบุคคล ตัวอย่างเช่น ในการศึกษาของ Alison แม้ว่าผู้คนจะจำได้อย่างแม่นยำว่ามีคำถามกี่ข้อที่ถูกถามในการสนทนา แต่พวกเขาไม่เข้าใจความเชื่อมโยงระหว่างคำถามและความชอบ จากการศึกษาทั้ง 4 เรื่องที่ผู้เข้าร่วมมีส่วนร่วมในการสนทนาด้วยตนเองหรืออ่านบันทึกการสนทนาของผู้อื่น ผู้คนมักไม่ตระหนักว่าการถามคำถามจะมีอิทธิพลหรือมีอิทธิพลต่อระดับมิตรภาพระหว่างผู้สนทนา