From 6dfababe3e3610df56577f2dd6baf4c899c544c9 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 12 Jan 2022 10:22:29 +0100 Subject: [PATCH] Fix --- conf/nginx.conf | 2 +- conf/systemd.service | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index e7f3d56..d601a3a 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,6 +1,6 @@ location / { - proxy_pass https://127.0.0.1:__PORT__; + proxy_pass http://127.0.0.1:__PORT__; proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; diff --git a/conf/systemd.service b/conf/systemd.service index d13ca13..a052a94 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -1,6 +1,7 @@ [Unit] Description=Shiori: Simple bookmark manager -Environment="SHIORI_DIR=__DATADIR__" +Requires=network-online.target +After=network-online.target [Service] Type=simple