Skip to content

Commit

Permalink
Task 0 - move shellcheck exception to second line
Browse files Browse the repository at this point in the history
  • Loading branch information
yeungegs committed Aug 18, 2017
1 parent c82415d commit b6d9998
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 0x0E-load_balancer/0-custom_http_response-header
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
# Configure new webserver to run Nginx and set up so that its HTTP response contains a custom header
# shellcheck disable=SC2154
# Configure new webserver to run Nginx and set up so that its HTTP response contains a custom header
apt-get update
apt-get install -y nginx
service nginx start
sed -i "20i\ add_header X-Served-By $hostname;" /etc/nginx/nginx.conf
sed -i "20i\ add_header X-Served-By $HOSTNAME;" /etc/nginx/nginx.conf
service nginx restart

0 comments on commit b6d9998

Please sign in to comment.