From e47e44ad61b91673714220c50af3bed8fff84252 Mon Sep 17 00:00:00 2001 From: Moul Date: Tue, 31 May 2016 22:19:44 +0000 Subject: [PATCH] [mfix] spelling. --- conf/nginx.conf | 2 +- scripts/install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 7a48e4a..380c23c 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,6 +1,6 @@ location YNH_EXAMPLE_PATH/ { rewrite ^YNH_EXAMPLE_PATH$ YNH_EXAMPLE_PATH/ permanent; - proxy_pass http://YNH_EXEMPLE_DOMAIN:YNH_EXAMPLE_PORT/; + proxy_pass http://YNH_EXAMPLE_DOMAIN:YNH_EXAMPLE_PORT/; proxy_set_header Host $host; proxy_buffering off; } diff --git a/scripts/install b/scripts/install index a36bca9..307ec33 100755 --- a/scripts/install +++ b/scripts/install @@ -77,6 +77,6 @@ sudo yunohost app setting $app skipped_uris -v "/" # Add proxy_pass sudo sed -i "s@YNH_EXAMPLE_PATH@$path@g" ../conf/nginx.conf sudo sed -i "s@YNH_EXAMPLE_PORT@$port@" ../conf/nginx.conf -sudo sed -i "s@YNH_EXEMPLE_DOMAIN@$domain@" ../conf/nginx.conf +sudo sed -i "s@YNH_EXAMPLE_DOMAIN@$domain@" ../conf/nginx.conf sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf sudo service nginx reload