adding nginx config
This commit is contained in:
parent
23611eb813
commit
21979840ee
|
@ -0,0 +1,10 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
|
||||
proxy:
|
||||
image: nginx:stable
|
||||
ports:
|
||||
- 8080:80
|
||||
volumes:
|
||||
- ./nginx-conf/default.conf.template:/etc/nginx/templates/default.conf.template
|
|
@ -0,0 +1,12 @@
|
|||
server {
|
||||
listen 80 default_server;
|
||||
server_name _;
|
||||
server_name_in_redirect off;
|
||||
|
||||
access_log /var/log/nginx/access.log;
|
||||
error_log /var/log/nginx/error.log debug;
|
||||
|
||||
location /service {
|
||||
proxy_pass http://host.docker.internal:3000;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue