Skip to content

Commit

Permalink
added nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryce Coon committed Mar 19, 2024
1 parent 06af127 commit 2f61e57
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
10 changes: 10 additions & 0 deletions BryceDocker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,16 @@ services:
networks:
otel:

proxy:
image: nginx
container_name: bryceproxy
ports:
- 9505:80
networks:
otel:
volumes:
- ./nginx-default.conf:/etc/nginx/conf.d/default.conf

otel-collector:
# https://github.com/open-telemetry/opentelemetry-collector-contrib/releases
container_name: otelBryce
Expand Down
15 changes: 15 additions & 0 deletions BryceDocker/nginx-default.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
server {
listen 80;
listen [::]:80;
server_name localhost;


location / {
proxy_pass http://bryceblazorapp:8080/;
}

error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}

0 comments on commit 2f61e57

Please sign in to comment.