initial nginx conf
This commit is contained in:
parent
21979840ee
commit
8cfb510d5b
|
@ -4,7 +4,9 @@ services:
|
|||
|
||||
proxy:
|
||||
image: nginx:stable
|
||||
container_name: "cors-proxy-nginx"
|
||||
ports:
|
||||
- 8080:80
|
||||
volumes:
|
||||
- ./nginx-conf/default.conf.template:/etc/nginx/templates/default.conf.template
|
||||
- ./nginx_logs:/var/log/nginx
|
||||
|
|
|
@ -7,6 +7,6 @@ server {
|
|||
error_log /var/log/nginx/error.log debug;
|
||||
|
||||
location /service {
|
||||
proxy_pass http://host.docker.internal:3000;
|
||||
proxy_pass http://192.168.2.214:3000/;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue