mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-25 18:28:07 +02:00
nginx-golang-postgres: add dev envs config (#275)
* Add Docker Desktop Development Environments config * Upgrade to Go 1.18 * Replace nginx build with image + read-only bind mount Signed-off-by: Milas Bowman <milas.bowman@docker.com>
This commit is contained in:
parent
9d547d23fb
commit
7f5179ea3e
8 changed files with 156 additions and 32 deletions
9
nginx-golang-postgres/proxy/nginx.conf
Executable file
9
nginx-golang-postgres/proxy/nginx.conf
Executable file
|
@ -0,0 +1,9 @@
|
|||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
location / {
|
||||
proxy_pass http://backend:8000;
|
||||
proxy_http_version 1.1;
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue