We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc03717 commit 9fe7af7Copy full SHA for 9fe7af7
scripts/docker/nginx.config
@@ -2,6 +2,7 @@ server {
2
listen 8080 ssl;
3
ssl_certificate /ssl/cert;
4
ssl_certificate_key /ssl/key;
5
+ access_log off;
6
location / {
7
root /www;
8
autoindex off;
scripts/docker/run.sh
@@ -23,4 +23,7 @@ for f in /www/spoke/pages/*.html; do
23
[[ $var == $prefix* ]] && sed -i "s/$anchor/ <meta name=\"env:${var#$prefix}\" content=\"${!var//\//\\\/}\"\/> $anchor/" $f;
24
done
25
26
+
27
+if [ "${access_log}" = "enabled" ]; then sed -i "s/access_log off;//g" /etc/nginx/conf.d/default.conf; fi
28
29
nginx -g "daemon off;"
0 commit comments