Insert comment before location block
This commit is contained in:
parent
c9e1ecac9d
commit
b361dd4933
1 changed files with 3 additions and 3 deletions
|
@ -93,10 +93,10 @@ begin
|
|||
end
|
||||
|
||||
printf "%s\n" \
|
||||
(if [ -n "$_flag_comment" ]
|
||||
echo "# $_flag_comment"
|
||||
end) \
|
||||
"location $location {" \
|
||||
(if [ -n "$_flag_comment" ]
|
||||
echo "# $_flag_comment"
|
||||
end) \
|
||||
"proxy_pass $url;" \
|
||||
'proxy_set_header Host $host;' \
|
||||
'proxy_set_header X-Real-IP $remote_addr;' \
|
||||
|
|
Loading…
Reference in a new issue