[discourse-web/flathub] Make nginx connect to backend running in the same pod
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [discourse-web/flathub] Make nginx connect to backend running in the same pod
- Date: Wed, 7 Oct 2020 11:23:24 +0000 (UTC)
commit 28a73157078e4b3cd3155e87bbf249ce53e03d5d
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Wed Oct 7 13:22:28 2020 +0200
Make nginx connect to backend running in the same pod
config/discourse-nginx.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/config/discourse-nginx.conf b/config/discourse-nginx.conf
index 4adaae1..929da0e 100644
--- a/config/discourse-nginx.conf
+++ b/config/discourse-nginx.conf
@@ -4,7 +4,7 @@ types {
}
upstream discourse {
- server webapp:3000;
+ server localhost:3000;
}
proxy_cache_path /var/cache/nginx keys_zone=one:10m max_size=200m;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]