השדרוג עובד ברובו.\n\nישנן שתי קהילות Discourse בשרת שלי.\n\nדואר נכנס עובד בקהילת secondsite אך לא באתר הראשון. במבט על הלוגים, נראה שדואר נכנס נקלט על ידי שרת ה-SMTP אך אין שום דבר בלוגי הדואר של Discourse שיעיד על קבלתו, שלא לדבר על עיבודו או דחייתו.\n\nאיני רואה הבדלים בהגדרות בין שתי הקהילות הללו שיכולים לגרום לכך, ואיני בטוח היכן עוד לחפש רמזים לגבי מה לעשות כדי לתקן זאת.
סיכום מבוסס בינה מלאכותית
The discussion, titled “The upgrade saga continues,” revolves around issues with a self-hosted Discourse setup involving two communities on the same server. MikeNolan reports that inbound email works on the second site but not the first, despite the SMTP server picking up the emails—no logs indicate processing or rejection. After rebooting the server, the issue seemed resolved temporarily, but a new container was created, reintroducing an nginx problem. MikeNolan questions the nginx configuration in 20-https.conf, which redirects traffic based on the hostname huskerlist.tssi.com, suggesting it should also account for the second site’s FQDN. pfaffman asks for clarification on how two Discourse communities are hosted, and tobiaseigen moved the topic to the hosting section and tagged it as unsupported due to non-standard installation practices.
נראה שהפעלת השרת מחדש (שוב) עשויה לתקן זאת.
Looks like rebooting the server (again) may have fixed it.
However, restarting the server built a new container from the image, so the nginx issue is back.
Can anyone tell me why this code exists in the nginx config files for a Discourse container:
in outlets/server/20-https.conf:
if ($http_host != huskerlist.tssi.com) {
rewrite (.*) https://huskerlist.tssi.com$1 permanent;
IMHO, either this code shouldn’t be there or it should also check $http_host against the secondsite FQDN, etc.
How? Are you using a reverse proxy and have multiple containers running?
העברתי את הנושא הזה אל Installation > Hosting מכיוון שהוא עוסק בהתעסקות עם התקנת Discourse בשרת עצמי. הוספתי גם את unsupported-install מכיוון שהוא כולל בבירור התקנה שאינה עוקבת אחר מדריך ההתקנה הרשמי.