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