adding nginx config

This commit is contained in:
Adam 2023-09-06 14:48:49 -05:00
parent 23611eb813
commit 21979840ee
2 changed files with 22 additions and 0 deletions

10
docker-compose.yml Normal file
View File

@ -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

View File

@ -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;
}
}