From: Jonathan Brielmaier <jonathan.brielmaier@web.de>
To: 59515@debbugs.gnu.org
Subject: bug#59515: nginx: Fails to start on boot while upstream service is not yet running
Date: Wed, 23 Nov 2022 16:34:57 +0100 [thread overview]
Message-ID: <82b04209-e3ec-a854-314e-d3c77ad14ac4@web.de> (raw)
When I start my personal server with a radicale service behind a nginx
reverse proxy, nginx fails to start.
The relevant part in the log:
Nov 23 16:02:56 localhost shepherd[1]: Service networking has been started.
Nov 23 16:02:56 localhost shepherd[1]: Service radicale has been started.
Nov 23 16:02:56 localhost shepherd[1]: Service ssh-daemon has been started.
Nov 23 16:02:56 localhost shepherd[1]: [nginx] nginx: [emerg] host not
found in upstream "localhost:5232" in
/gnu/store/y29zl57pprwxbcxfx593s16456kxk99y-nginx.conf:15
Nov 23 16:02:56 localhost shepherd[1]: Failed to start nginx in the
background.
The config can be found here:
https://gitlab.com/jonsger/jonsger-guix/-/blob/master/config/baebia.scm#L116
```
(upstream-blocks (list
(nginx-upstream-configuration
(name "radicale")
(servers (list "localhost:5232")))))
```
I wonder whats going wrong here. Is there a way to define that nginx
service should wait until radicale service is started?
~Jonathan
next reply other threads:[~2022-11-23 15:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-23 15:34 Jonathan Brielmaier [this message]
2022-11-23 17:35 ` bug#59515: nginx: Fails to start on boot while upstream service is not yet running mirai
2022-11-25 8:56 ` Jonathan Brielmaier
2022-11-27 21:14 ` Ludovic Courtès
2023-01-02 17:09 ` Jonathan Brielmaier
2023-03-21 23:02 ` Jonathan Brielmaier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=82b04209-e3ec-a854-314e-d3c77ad14ac4@web.de \
--to=jonathan.brielmaier@web.de \
--cc=59515@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.