Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions conf/dist/nginx-conf/wordpress.conf
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@

map $status $loggable
{
~^[2] 0;
~^[3] 0;
default 1;
}

server {
listen 80;
listen 443 ssl;

root /var/www/html;
index index.php;

access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
access_log /dev/stdout combined if=$loggable;
error_log /dev/stderr;

client_max_body_size 128M;

Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ services:
- ${DOCKER_CONF_CERTS_PATH:-./data/plugins/}:/tmp/plugins
- ./var/logs:/var/log/nginx
- ${DOCKER_WORDPRESS_SRC_PATH:-wordpress-src}:/var/www/html:ro
- ./src/acore-wp-plugin:/var/www/html/wp-content/plugins/acore-wp-plugins
extra_hosts:
- "web.local:127.0.0.1"
ports:
Expand Down