Try and run the tests on nginx
This commit is contained in:
parent
5f3461daf8
commit
7237d67dda
6 changed files with 173 additions and 2 deletions
19
travis/default-site.tpl.conf
Normal file
19
travis/default-site.tpl.conf
Normal file
|
@ -0,0 +1,19 @@
|
|||
server {
|
||||
listen 8000 default_server;
|
||||
listen [::]:8000 default_server ipv6only=on;
|
||||
|
||||
root {ROOT}/public;
|
||||
|
||||
access_log /tmp/access.log;
|
||||
error_log /tmp/error.log;
|
||||
|
||||
location ~* "\.php(/|$)" {
|
||||
include fastcgi.conf;
|
||||
fastcgi_pass php;
|
||||
}
|
||||
|
||||
location / {
|
||||
# First attempt to serve request as file, then as directory, then fall back to index.php.
|
||||
try_files $uri $uri/ /index.php$is_args$args;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue