Skip to content

Commit

Permalink
Update update_primary_nginx.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Garima Ketan Chauhan authored and GitHub Enterprise committed Mar 4, 2025
1 parent bfd37f3 commit 067be6d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/update_primary_nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ jobs:
- name: Restore Nginx variables
run: |
sed -i 's/__HTTP_HOST__/$http_host/g' temp_default.conf | \
sed -i 's/__REMOTE_ADDR__/$remote_addr/g' | \
sed -i 's/__PROXY_ADD_X_FORWARDED_FOR__/$proxy_add_x_forwarded_for/g'
sed -i 's/__HTTP_HOST__/$http_host/g' temp_default.conf
sed -i 's/__REMOTE_ADDR__/$remote_addr/g' temp_default.conf
sed -i 's/__PROXY_ADD_X_FORWARDED_FOR__/$proxy_add_x_forwarded_for/g' temp_default.conf
- name: Copy temporary file to correct place
run: cp -L temp_default.conf /etc/nginx/conf.d/default.conf
Expand Down

0 comments on commit 067be6d

Please sign in to comment.