mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2024-11-23 20:59:03 +01:00
11 lines
297 B
Plaintext
Executable File
11 lines
297 B
Plaintext
Executable File
#!/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
|