瀏覽代碼

Typo

pull/254/head
sudneo 6 年之前
父節點
當前提交
3dfa6a28f9
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      examples/haproxy/README.md

+ 1
- 1
examples/haproxy/README.md 查看文件

@@ -21,5 +21,5 @@ You can then use the configuration files from this directory as an example for h
HAproxy, unlike Apache, Nginx and others, does not provide you with a webserver to serve static files (i.e., `/.well-known/` directory). For this reason, in this folder you can find an example on how to use HAproxy together with a simple Nginx container whose only task is to serve those files. HAproxy, unlike Apache, Nginx and others, does not provide you with a webserver to serve static files (i.e., `/.well-known/` directory). For this reason, in this folder you can find an example on how to use HAproxy together with a simple Nginx container whose only task is to serve those files.


* Build the Docker image. `docker build -t local/nginx .` * Build the Docker image. `docker build -t local/nginx .`
* Start the container. `docker-compose up -d`. Note that if you want to run Nginx on a different port, you will have to change the port both in the `docker-compose.yml` and in `haproxy.cfg` files.
* Start the container. `docker-compose up -d`. Note that if you want to run Nginx on a different port, you will have to change the port both in the `docker-compose.yml` and in `haproxy.cfg`.
* Start HAproxy with the proposed configuration. * Start HAproxy with the proposed configuration.

Loading…
取消
儲存