-
Notifications
You must be signed in to change notification settings - Fork 19
Cloudflare changes for Monkshu
TekMonks edited this page Jul 2, 2021
·
2 revisions
When using Cloudflare with Monkshu, the following changes need to be made in order to ensure compatibility.
- Rocket Loader is a feature by Cloudflare that can help with page load time. However, in doing so, this may break JavaScript content.
- This plugin comments out the
JavaScript module tags
out of yourHTML
content, making Monkshu components not load at all. - To disable Rocket Loader, open up your Cloudflare dashboard and go to the Speed tab. Scroll down to "Rocket Loader", and toggle the feature off.
HTTP ports supported by Cloudflare:
- 80
- 8080
- 8880
- 2052
- 2082
- 2086
- 2095
HTTPS ports supported by Cloudflare:
- 443
- 2053
- 2083
- 2087
- 2096
- 8443
- Backend ->
monkshu/backend/server/conf/httpd.json
- Frontend ->
monkshu/frontend/server/conf/httpd.json
Both of these should be modified. Suggestion is to use Port 8443 for the backend API server, and of course, 443 for the frontend server.