mirror of
https://github.com/thib8956/nginx-proxy
synced 2024-11-22 11:56:31 +00:00
commit
1ea74e9b0a
@ -1,2 +1,6 @@
|
|||||||
.git
|
.git
|
||||||
|
.dockerignore
|
||||||
|
circle.yml
|
||||||
|
Makefile
|
||||||
README.md
|
README.md
|
||||||
|
test
|
||||||
|
6
Makefile
Normal file
6
Makefile
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
.SILENT :
|
||||||
|
.PHONY : test
|
||||||
|
|
||||||
|
test:
|
||||||
|
docker build -t jwilder/nginx-proxy:bats .
|
||||||
|
bats test
|
10
README.md
10
README.md
@ -218,3 +218,13 @@ If you are using multiple hostnames for a single container (e.g. `VIRTUAL_HOST=e
|
|||||||
If you want most of your virtual hosts to use a default single `location` block configuration and then override on a few specific ones, add those settings to the `/etc/nginx/vhost.d/default_location` file. This file
|
If you want most of your virtual hosts to use a default single `location` block configuration and then override on a few specific ones, add those settings to the `/etc/nginx/vhost.d/default_location` file. This file
|
||||||
will be used on any virtual host which does not have a `/etc/nginx/vhost.d/{VIRTUAL_HOST}` file associated with it.
|
will be used on any virtual host which does not have a `/etc/nginx/vhost.d/{VIRTUAL_HOST}` file associated with it.
|
||||||
|
|
||||||
|
### Contributing
|
||||||
|
|
||||||
|
Before submitting pull requests or issues, please check github to make sure an existing issue or pull request is not already open.
|
||||||
|
|
||||||
|
#### Running Tests Locally
|
||||||
|
|
||||||
|
To run tests, you'll need to install [bats 0.4.0](https://github.com/sstephenson/bats).
|
||||||
|
|
||||||
|
make test
|
||||||
|
|
||||||
|
@ -19,5 +19,4 @@ dependencies:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
override:
|
override:
|
||||||
- docker build -t jwilder/nginx-proxy:bats .
|
- make test
|
||||||
- bats test
|
|
||||||
|
Loading…
Reference in New Issue
Block a user