File size: 182 Bytes
b0782ac
 
 
 
 
 
1
2
3
4
5
6
7
#!/bin/bash

# Careful: can't create tmp files from this script
cat nginx.conf | sed "s|API_URL|${API_URL}|g" > /etc/nginx/sites-available/default
service nginx start
sleep infinity