5 lines
145 B
Bash
5 lines
145 B
Bash
#!/bin/bash
|
|
cp /opt/etc/nginx.conf /etc/nginx/nginx.conf
|
|
sed -i "s/%fpm-ip%/$FPM_PORT_9000_TCP_ADDR/" /etc/nginx/nginx.conf
|
|
exec /usr/sbin/nginx
|