Giter Site home page Giter Site logo

nginx-wordpress-docker's People

Contributors

ccjeagle avatar cr0hn avatar lukecav avatar raulr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

nginx-wordpress-docker's Issues

Cannot start service nginx: driver failed programming external connectivity

ERROR: for nginx_nginx_1  Cannot start service nginx: driver failed programming external connectivity on endpoint nginx_nginx_1 (67d91214e1a643bbfde7b7e613e2a1cb595b877fcdb34721dce16d87bdac18ce): Error starting userland proxy: mkdir /port/tcp:0.0.0.0:8080:tcp:172.17.0.4:80: input/output error

ERROR: for nginx  Cannot start service nginx: driver failed programming external connectivity on endpoint nginx_nginx_1 (67d91214e1a643bbfde7b7e613e2a1cb595b877fcdb34721dce16d87bdac18ce): Error starting userland proxy: mkdir /port/tcp:0.0.0.0:8080:tcp:172.17.0.4:80: input/output error
ERROR: Encountered errors while bringing up the project.

I'm on Windows 10 Pro, with Hyper-V used. Used docker-compose.yml & docker-compose up.

logfile remote IP address using nginx-proxy

Hi,

thanks for this great image ๐Ÿ‘

I'm using it in combination with jwilder/nginx-proxy and JrCs/docker-letsencrypt-nginx-proxy-companion - that's awesome!

To get nginx-wordpress-docker logging the correct remote IP address using jwilder/nginx-proxy I had to add the following to lines to default.conf:

real_ip_header X-Forwarded-For;
set_real_ip_from 172.16.0.0/12;

Maybe you have an idea howto include this feature to your official image, i.e. allowing to setup the environment variables REAL_IP_HEADER and REAL_IP_FROM in case the container is running behind a proxy.

Can't get Multisite Working

Hello,
I'm trying to get multisite working using your docker image but I just end up getting:
Error establishing a database connection

Would you happen to know what I need to modify to get it working?

Thanks,
Tim

WordPress can't send email

Hi,

Unfortunately, WordPress couldn't send email using your image.

The problem is that WP apparently determines the domain name using the "server_name" NGINX config value and as it is "_" (for the catchall), it is incorrect and it cannot send an email (e.g. forgot password).

To fix this, I added a requirement for a Docker environment variable "SITE" (with the domain name) and added this in the entrypoint:

In:
if [ "$1" == nginx ]; then

This:
sed -i "s/server_name _/server_name $SITE www\.$SITE/" /etc/nginx/conf.d/default.conf

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.