From 607463ddd03d22ddc2e658079fb119f046d61a52 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Wed, 29 Aug 2018 00:08:42 +0200 Subject: [PATCH] Fix nginx for sub path --- check_process | 2 +- conf/nginx.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/check_process b/check_process index f3fcefd..b2de2f1 100644 --- a/check_process +++ b/check_process @@ -1,6 +1,6 @@ ;; Test complet ; pre-install - git clone https://github.com/YunoHost/CI_package_check /home/CI_package_check + sudo git clone https://github.com/YunoHost/CI_package_check /home/CI_package_check ; Manifest domain="domain.tld" (DOMAIN) path="/path" (PATH) diff --git a/conf/nginx.conf b/conf/nginx.conf index 576bb4b..a781bee 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -6,7 +6,7 @@ location __PATH__/ { rewrite ^ https://$server_name$request_uri? permanent; } - proxy_pass http://127.0.0.1:4242; + proxy_pass http://127.0.0.1:4242/; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade;