Skip to content

Commit

Permalink
enable automatic https
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaniyaps committed Jul 1, 2024
1 parent 3bfbf1e commit 197733f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Caddyfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
http://localhost {
localhost {
reverse_proxy /api/* server:8000

reverse_proxy client:3000
Expand Down
2 changes: 1 addition & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ services:
- SERVER_HOST=0.0.0.0
- SERVER_PORT=8000
- SERVER_LOG_LEVEL=INFO
- SERVER_CORS_ALLOW_ORIGINS=["http://localhost", "http://127.0.0.1"]
- SERVER_CORS_ALLOW_ORIGINS=["http://localhost", "http://127.0.0.1", "https://localhost", "https://127.0.0.1"]
- SERVER_OPENAPI_URL=
- SERVER_DATABASE_URL=postgresql+asyncpg://user:pass@postgres:5432/todos
- SERVER_DATABASE_POOL_SIZE=20
Expand Down

0 comments on commit 197733f

Please sign in to comment.