blob: 6b303bc9ab719d9f18072a676f7cbc27833965b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/usr/bin/awk -f
/^http {/ {
print
while (getline nextLine && nextLine !~ "^}$") {
print nextLine
}
print " include /etc/nginx/sites-enabled/*;"
print "}"
next
};
{print}
|