Skip to content

Commit

Permalink
Fix Caddy reverse-proxying (forgot to include in #1)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanjli committed Apr 29, 2024
1 parent a83b7ea commit c012f90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/compose-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ services:
labels:
caddy: :80
caddy.redir: /ps/streamlit-demo /ps/streamlit-demo/
caddy.handle_path: /ps/streamlit-demo/*
caddy.handle_path.reverse_proxy: "{{upstreams 8501}}"
caddy.handle: /ps/streamlit-demo/*
caddy.handle.reverse_proxy: "{{upstreams 8501}}"
environment:
STREAMLIT_SERVER_BASE_URL_PATH: /ps/streamlit-demo
healthcheck:
Expand Down
2 changes: 1 addition & 1 deletion pkg/compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
server:
image: ghcr.io/planktoscope/streamlit-classification-app:sha-0703263
image: ghcr.io/planktoscope/streamlit-classification-app:sha-a83b7ea

networks:
default:
Expand Down

0 comments on commit c012f90

Please sign in to comment.