Skip to content

Commit 0c27254

Browse files
Merge pull request #18165 from MauricioFauth/selenium-public-dir
Update server directory for Selenium CI tests
2 parents 0abbc52 + ae9eb81 commit 0c27254

2 files changed

Lines changed: 526 additions & 479 deletions

File tree

test/nginx.conf

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ http {
5454
listen 8000 default_server;
5555
server_name _;
5656

57-
root %ROOT%;
57+
root %ROOT%/public;
5858

59-
index index.php index.html index.htm;
59+
index index.php;
6060

6161
charset utf-8;
6262

@@ -117,14 +117,5 @@ http {
117117
# PHP only, required if PHP was built with --enable-force-cgi-redirect
118118
fastcgi_param REDIRECT_STATUS 200;
119119
}
120-
121-
location ~ /\. {
122-
deny all;
123-
}
124-
125-
location ~ /(libraries|templates) {
126-
deny all;
127-
}
128-
129120
}
130121
}

0 commit comments

Comments
 (0)