woocommerce/tests/e2e-tests/config/travis/travis_default-site.conf

24 lines
603 B
Plaintext

server {
listen 8080 default_server;
listen [::]:8080 default_server ipv6only=on;
root /home/travis/wordpress;
access_log /tmp/access.log;
error_log /tmp/error.log;
## This should be in your http block and if it is, it's not needed here.
index index.php;
location ~* "\.php(/|$)" {
include fastcgi.conf;
fastcgi_pass php;
}
location / {
# This is cool because no php is touched for static content.
# include the "?$args" part so non-default permalinks doesn't break when using query string
try_files $uri $uri/ /index.php?$args;
}
}