1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yunorunner_ynh.git synced 2024-09-03 20:36:13 +02:00

Fix nginx for sub path

This commit is contained in:
Maniack Crudelis 2018-08-29 00:08:42 +02:00
parent 74ee4c2e15
commit 607463ddd0
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
;; Test complet ;; Test complet
; pre-install ; 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 ; Manifest
domain="domain.tld" (DOMAIN) domain="domain.tld" (DOMAIN)
path="/path" (PATH) path="/path" (PATH)

View file

@ -6,7 +6,7 @@ location __PATH__/ {
rewrite ^ https://$server_name$request_uri? permanent; 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_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;