mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2025-12-15 04:32:41 +01:00
Remove /etc/cont-init.d ties to nlss/php-nginx:7.4 image
This commit is contained in:
10
rootfs/etc/cont-init.d/20-parse-template
Executable file
10
rootfs/etc/cont-init.d/20-parse-template
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/with-contenv sh
|
||||
set -e
|
||||
|
||||
echo "Parsing virtual host template..."
|
||||
/usr/local/bin/gomplate -V \
|
||||
-o /etc/nginx/sites-available/app.conf \
|
||||
-f /etc/templates/tmpl-app-nginx.conf
|
||||
|
||||
echo "Enabling virtual host..."
|
||||
ln -sf /etc/nginx/sites-available/app.conf /etc/nginx/sites-enabled/app.conf
|
||||
Reference in New Issue
Block a user