File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ :3000 {
2+ rewrite * /api {uri}
3+ reverse_proxy core:3000
4+ }
Original file line number Diff line number Diff line change @@ -185,15 +185,15 @@ services:
185185 ports :
186186 - " 1080:1080"
187187
188- nginx :
189- image : nginx:1.25-alpine
190- hostname : nginx
188+ caddy :
189+ image : caddy:2
190+ hostname : caddy
191+ volumes :
192+ - ./caddy/Caddyfile:/etc/caddy/Caddyfile:ro
193+ ports :
194+ - " 3000:3000"
191195 depends_on :
192196 - core
193- ports :
194- - " 3000:3000" # expose nginx on localhost:3000
195- volumes :
196- - ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
197197 restart : unless-stopped
198198
199199volumes :
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ export const CORS_ORIGIN_REGEX = process.env.CORS_ORIGIN_REGEX;
7575 * }
7676 * >
7777 */
78- export const PUBLIC_URL = new URL ( process . env . PUBLIC_URL ?? HOST ) ;
78+ export const PUBLIC_URL = new URL ( process . env . CLIENT_HOST ?? HOST ) ;
7979
8080/**
8181 * GRAASP FILE STORAGE CONFIG
You can’t perform that action at this time.
0 commit comments