Skip to content

Commit cd9a9a0

Browse files
committed
feat: update static server from nginx to caddy for serving compiled themes
1 parent 43e45ef commit cd9a9a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugins/tutor-contrib-paragon/tutorparagon/patches/local-docker-compose-services

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ paragon-statics:
77
- "{{ PARAGON_STATIC_SERVER_PORT }}:80"
88
{% endif %}
99
volumes:
10-
- "./../../{{ PARAGON_COMPILED_THEMES_PATH }}:/usr/share/nginx/html:ro"
10+
- "./../../{{ PARAGON_COMPILED_THEMES_PATH }}:/usr/share/caddy:ro"
1111
{% endif %}

plugins/tutor-contrib-paragon/tutorparagon/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
("PARAGON_BUILDER_IMAGE", "paragon-builder:latest"),
3737
# Paragon static server configuration
3838
# This server serves the compiled themes
39-
("PARAGON_STATIC_SERVER_IMAGE", "nginx:stable-alpine"),
39+
("PARAGON_STATIC_SERVER_IMAGE", "caddy:alpine"),
4040
("PARAGON_STATIC_SERVER_PORT", 18000),
4141
("PARAGON_STATIC_URL_PREFIX", "static/paragon/"),
4242
]

0 commit comments

Comments
 (0)