informatica:linux:wordpress:docker
Differences
This shows you the differences between two versions of the page.
informatica:linux:wordpress:docker [2020/02/21 13:45] – created jose | informatica:linux:wordpress:docker [2020/02/28 18:53] (current) – jose | ||
---|---|---|---|
Line 36: | Line 36: | ||
Para levantarlo: | Para levantarlo: | ||
docker-compose up -d | docker-compose up -d | ||
+ | | ||
+ | Añadimos nginx: | ||
+ | < | ||
+ | server { | ||
+ | listen | ||
+ | server_name | ||
+ | |||
+ | location / { | ||
+ | proxy_pass http:// | ||
+ | proxy_buffering on; | ||
+ | proxy_buffers 12 12k; | ||
+ | proxy_redirect off; | ||
+ | |||
+ | proxy_set_header X-Real-IP $remote_addr; | ||
+ | proxy_set_header X-Forwarded-For $remote_addr; | ||
+ | proxy_set_header Host $host; | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | ruth@docker: | ||
+ |
informatica/linux/wordpress/docker.txt · Last modified: 2020/02/28 18:53 by jose