Skip to content

Commit 419dc7d

Browse files
committed
Update nginx config to server client online check
1 parent f1c7b52 commit 419dc7d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.docker/templates/default.conf.template

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ server {
1616
try_files $uri /index.php$is_args$args;
1717
}
1818

19+
# Screen client online check should just serve static files
20+
location /client/online-check {
21+
index index.html index.htm;
22+
}
23+
1924
# Protect files and directories from prying eyes.
2025
location ~* \.(engine|inc|install|make|module|profile|po|sh|.*sql|.tar|.gz|.bz2|theme|twig|tpl(\.php)?|xtmpl|yml)(~|\.sw[op]|\.bak|\.orig|\.save)?$|^(\.(?!well-known).*|Entries.*|Repository|Root|Tag|Template|composer\.(json|lock)|web\.config)$|^#.*#$|\.php(~|\.sw[op]|\.bak|\.orig|\.save)$ {
2126
deny all;

0 commit comments

Comments
 (0)