We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e42a907 commit 77f6f3aCopy full SHA for 77f6f3a
files/nginx.conf.tmpl
@@ -12,7 +12,7 @@ http {
12
access_log /dev/stdout;
13
14
server {
15
- listen 80;
+ listen ##PORT##;
16
server_name ##SERVER_NAME##;
17
18
location / {
files/run.sh
@@ -21,6 +21,7 @@ htpasswd -bBc /etc/nginx/.htpasswd $BASIC_AUTH_USERNAME $BASIC_AUTH_PASSWORD
21
sed \
22
-e "s/##WORKER_PROCESSES##/$WORKER_PROCESSES/g" \
23
-e "s/##SERVER_NAME##/$SERVER_NAME/g" \
24
+ -e "s/##PORT##/${PORT:-80}/g" \
25
-e "s|##PROXY_PASS##|$PROXY_PASS|g" \
26
nginx.conf.tmpl > /etc/nginx/nginx.conf
27
0 commit comments