From 4911991beaa670dffb080eeaf01d6fc8fea328e3 Mon Sep 17 00:00:00 2001 From: Jonathan Chan Date: Wed, 3 Mar 2021 05:14:21 +0000 Subject: [PATCH] Local ports for Nextcloud and TTRSS changed; fixed issues with reverse proxy and HTTPS in TTRSS. --- next.ionathan.ch | 2 +- rss.ionathan.ch | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/next.ionathan.ch b/next.ionathan.ch index 9c01cd7..ff00324 100644 --- a/next.ionathan.ch +++ b/next.ionathan.ch @@ -5,7 +5,7 @@ server { add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always; location / { - proxy_pass http://localhost:8080; + proxy_pass http://localhost:8000; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; } diff --git a/rss.ionathan.ch b/rss.ionathan.ch index e1ed4ee..1b247e1 100644 --- a/rss.ionathan.ch +++ b/rss.ionathan.ch @@ -1,9 +1,10 @@ server { server_name rss.ionathan.ch; location / { - proxy_pass http://localhost:8181; + proxy_pass http://localhost:8080; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-Proto $scheme; }