mirror of
https://github.com/casjaysdevdocker/caddy
synced 2025-09-19 15:57:39 -04:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
|
||||
:80 {
|
||||
:REPLACE_SERVER_PORT {
|
||||
root * /data/htdocs/www
|
||||
file_server
|
||||
#reverse_proxy localhost:8080
|
||||
php_fastcgi localhost:9000
|
||||
#php_fastcgi localhost:9000
|
||||
}
|
||||
|
129
rootfs/usr/local/share/template-files/config/env/default.sample
vendored
Normal file
129
rootfs/usr/local/share/template-files/config/env/default.sample
vendored
Normal file
@@ -0,0 +1,129 @@
|
||||
#!/usr/bin/env bash
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Set bash options
|
||||
[ "$DEBUGGER" = "on" ] && echo "Enabling debugging" && set -o pipefail -x$DEBUGGER_OPTIONS || set -o pipefail
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# import the functions file
|
||||
if [ -f "/usr/local/etc/docker/functions/entrypoint.sh" ]; then
|
||||
. "/usr/local/etc/docker/functions/entrypoint.sh"
|
||||
fi
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# GLOBAL enviroment variables
|
||||
USER="${USER:-root}"
|
||||
LANG="${LANG:-C.UTF-8}"
|
||||
TZ="${TZ:-America/New_York}"
|
||||
SERVICE_USER="${SERVICE_USER:-root}"
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# directory settings
|
||||
BACKUP_DIR="${BACKUP_DIR:-/data/backups}"
|
||||
WWW_ROOT_DIR="${WWW_ROOT_DIR:-/data/htdocs}"
|
||||
LOCAL_BIN_DIR="${LOCAL_BIN_DIR:-/usr/local/bin}"
|
||||
DATABASE_BASE_DIR="${DATABASE_BASE_DIR:-/data/db}"
|
||||
DEFAULT_DATA_DIR="${DEFAULT_DATA_DIR:-/usr/local/share/template-files/data}"
|
||||
DEFAULT_CONF_DIR="${DEFAULT_CONF_DIR:-/usr/local/share/template-files/config}"
|
||||
DEFAULT_TEMPLATE_DIR="${DEFAULT_TEMPLATE_DIR:-/usr/local/share/template-files/defaults}"
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# healthcheck
|
||||
HEALTH_ENABLED="${HEALTH_ENABLED:-}"
|
||||
HEALTH_URL="${HEALTH_URL:-}"
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# php settings
|
||||
PHP_VERSION="${PHP_VERSION//php/}"
|
||||
PHP_INI_DIR="${PHP_INI_DIR:-$(__find_php_ini)}"
|
||||
PHP_BIN_DIR="${PHP_BIN_DIR:-$(__find_php_bin)}"
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# services/ports
|
||||
ENV_PORTS="${ENV_PORTS:-}"
|
||||
SERVICE_PORT="${SERVICE_PORT:-$PORT}"
|
||||
WEB_SERVER_PORTS="${WEB_SERVER_PORTS:-}"
|
||||
SERVICES_LIST="${PROCS_LIST:-$SERVICES_LIST} "
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# networing info
|
||||
HOSTNAME="${HOSTNAME:-casjaysdev-GEN_SCRIPT_REPLACE_APPNAME}"
|
||||
DOMAINNAME="${DOMAINNAME:-}"
|
||||
FULL_DOMAIN_NAME="${FULL_DOMAIN_NAME:-${DOMAINNAME:-$HOSTNAME}}"
|
||||
SERVER_ADMIN="${SERVER_ADMIN:-root@${EMAIL_DOMAIN:-$DOMAINNAME}}"
|
||||
EMAIL_RELAY="${EMAIL_RELAY:-}"
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# get ip addresses
|
||||
CONTAINER_IP4_ADDRESS="${CONTAINER_IP4_ADDRESS:-$(__get_ip4)}"
|
||||
CONTAINER_IP6_ADDRESS="${CONTAINER_IP6_ADDRESS:-$(__get_ip6)}"
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# cerbot
|
||||
SSL_CERT_BOT="${SSL_CERT_BOT:-false}"
|
||||
CERT_BOT_MAIL="${CERT_BOT_MAIL:-}"
|
||||
CERTBOT_DOMAINS="${CERTBOT_DOMAINS:-}"
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# ssl server settings
|
||||
SSL_ENABLED="${SSL_ENABLED:-false}"
|
||||
SSL_DIR="${SSL_DIR:-/config/ssl}"
|
||||
SSL_CA="${SSL_CA:-$SSL_DIR/ca.crt}"
|
||||
SSL_KEY="${SSL_KEY:-$SSL_DIR/server.key}"
|
||||
SSL_CERT="${SSL_CERT:-$SSL_DIR/server.crt}"
|
||||
SSL_CONTAINER_DIR="${SSL_CONTAINER_DIR:-/etc/ssl/CA}"
|
||||
COUNTRY="${COUNTRY:-US}"
|
||||
STATE="${STATE:-NY}"
|
||||
CITY="${CITY:-Albany}"
|
||||
UNIT="${UNIT:-CasjaysDev}"
|
||||
ORG="${ORG:-"Casjays Developments"}"
|
||||
DAYS_VALID="${DAYS_VALID:-3650}"
|
||||
RSA="${RSA:-4096}"
|
||||
CN="${CN:-$FULL_DOMAIN_NAME}"
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# web server configs
|
||||
HTTPD_CONFIG_FILE="${HTTPD_CONFIG_FILE:-$(__find_httpd_conf)}"
|
||||
NGINX_CONFIG_FILE="${NGINX_CONFIG_FILE:-$(__find_nginx_conf)}"
|
||||
LIGHTTPD_CONFIG_FILE="${LIGHTTPD_CONFIG_FILE:-$(__find_lighttpd_conf)}"
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# redis env
|
||||
DATABASE_DIR_REDIS="${DATABASE_DIR_REDIS:-$DATABASE_BASE_DIR/redis}"
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# postgresql env
|
||||
DATABASE_DIR_PGSQL="${DATABASE_DIR_PGSQL:-$PGDATA}"
|
||||
PGDATA="${DATABASE_DIR_PGSQL:-$DATABASE_BASE_DIR/pgsql}"
|
||||
POSTGRES_USER="${DATABASE_USER_ROOT:-$POSTGRES_USER}"
|
||||
POSTGRES_PASSWORD="${DATABASE_PASS_ROOT:-$POSTGRES_PASSWORD}"
|
||||
POSTGRES_CONFIG_FILE="${POSTGRES_CONFIG_FILE:-$(__find_pgsql_conf)}"
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# mariadb env
|
||||
MARIADB_ROOT_HOST="${MARIADB_ROOT_HOST:-%}"
|
||||
MARIADB_AUTO_UPGRADE="${MARIADB_AUTO_UPGRADE:-yes}"
|
||||
MARIADB_DATABASE="${DATABASE_CREATE:-$MARIADB_DATABASE}"
|
||||
MARIADB_USER="${DATABASE_USER_NORMAL:-$MARIADB_USER}"
|
||||
MARIADB_PASSWORD="${DATABASE_PASS_NORMAL:-$MARIADB_PASSWORD}"
|
||||
DATABASE_DIR_MARIADB="${DATABASE_DIR_MARIADB:-$DATABASE_BASE_DIR/mysql}"
|
||||
MARIADB_ROOT_PASSWORD="${DATABASE_PASS_ROOT:-$MARIADB_ROOT_PASSWORD}"
|
||||
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD="${MARIADB_ALLOW_EMPTY_ROOT_PASSWORD:-}"
|
||||
MARIADB_INITDB_SKIP_TZINFO="${MARIADB_INITDB_SKIP_TZINFO}:-"
|
||||
MARIADB_RANDOM_ROOT_PASSWORD="${MARIADB_RANDOM_ROOT_PASSWORD:-}"
|
||||
MARIADB_CONFIG_FILE="${MARIADB_CONFIG_FILE:-$(__find_mysql_conf)}"
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# mongodb env
|
||||
NITDB_ROOT_USERNAME="${DATABASE_USER_ROOT:-$NITDB_ROOT_USERNAME}"
|
||||
DATABASE_DIR_MONGODB="${DATABASE_DIR_MONGODB:-$DATABASE_BASE_DIR/mongodb}"
|
||||
MONGO_INITDB_ROOT_PASSWORD="${DATABASE_PASS_ROOT:-$MONGO_INITDB_ROOT_PASSWORD}"
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# couchdb env
|
||||
NODENAME="${NODENAME:-}"
|
||||
COUCHDB_USER="${DATABASE_USER_ROOT:-$COUCHDB_USER}"
|
||||
COUCHDB_PASSWORD="${DATABASE_PASS_ROOT:-$COUCHDB_PASSWORD}"
|
||||
DATABASE_DIR_COUCHDB="${DATABASE_DIR_COUCHDB:-$DATABASE_BASE_DIR/couchdb}"
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Supabase
|
||||
DATABASE_DIR_SUPABASE="${DATABASE_DIR_SUPABASE:-$DATABASE_BASE_DIR/supabase}"
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# File locations
|
||||
ENTRYPOINT_PID_FILE="${ENTRYPOINT_PID_FILE:-/run/init.d/entrypoint.pid}"
|
||||
ENTRYPOINT_INIT_FILE="${ENTRYPOINT_INIT_FILE:-/config/.entrypoint.done}"
|
||||
ENTRYPOINT_DATA_INIT_FILE="${ENTRYPOINT_DATA_INIT_FILE:-/data/.docker_has_run}"
|
||||
ENTRYPOINT_CONFIG_INIT_FILE="${ENTRYPOINT_CONFIG_INIT_FILE:-/config/.docker_has_run}"
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Startup variables
|
||||
INIT_DATE="${INIT_DATE:-$(date)}"
|
||||
START_SERVICES="${START_SERVICES:-yes}"
|
||||
ENTRYPOINT_MESSAGE="${ENTRYPOINT_MESSAGE:-yes}"
|
||||
ENTRYPOINT_FIRST_RUN="${ENTRYPOINT_FIRST_RUN:-yes}"
|
||||
DATA_DIR_INITIALIZED="${DATA_DIR_INITIALIZED:-false}"
|
||||
CONFIG_DIR_INITIALIZED="${CONFIG_DIR_INITIALIZED:-false}"
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
0
rootfs/usr/local/share/template-files/data/.gitkeep
Normal file
0
rootfs/usr/local/share/template-files/data/.gitkeep
Normal file
@@ -20,12 +20,12 @@
|
||||
<meta name="theme-color" content="#fafafa" />
|
||||
<link rel="manifest" href="./site.webmanifest" />
|
||||
|
||||
<link rel="icon" sizes="any" href="./images/favicon.ico" />
|
||||
<link rel="icon" type="image/svg+xml" href="./images/icon.svg" />
|
||||
<link rel="icon" type="image/icon png" href="./images/favicon.png" />
|
||||
<link rel="apple-touch-icon" href="./images/icon.png" />
|
||||
|
||||
<link rel="stylesheet" href="./css/index.css" />
|
||||
<link rel="stylesheet" href="./css/errorpages.css" />
|
||||
<link rel="stylesheet" href="./css/bootstrap.css" />
|
||||
<link rel="stylesheet" href="./css/index.css" />
|
||||
|
||||
<script src="./js/errorpages/isup.js" defer></script>
|
||||
<script src="./js/errorpages/homepage.js" defer></script>
|
||||
@@ -40,17 +40,15 @@
|
||||
|
||||
<body onload="javascript:loadDomain();">
|
||||
<!-- Error Page Content -->
|
||||
<div class="container vh-100">
|
||||
<div class="container vh-100 h1">
|
||||
<div class="jumbotron">
|
||||
<h1>
|
||||
<i class="fa fa-frown-o red"></i>
|
||||
<a
|
||||
href="https://www.google.com/search?q=server+error+404"
|
||||
target="_blank"
|
||||
>404 Not Found</a
|
||||
>
|
||||
</h1>
|
||||
<p class="lead">
|
||||
<i class="fa fa-frown-o"></i>
|
||||
<a
|
||||
href="https://www.google.com/search?q=server+error+404"
|
||||
target="_blank"
|
||||
>404 Not Found</a
|
||||
>
|
||||
<p class="lead fs-3">
|
||||
We apologize but we can't seem to be able to find what you're looking
|
||||
for!
|
||||
</p>
|
||||
@@ -58,8 +56,8 @@
|
||||
<img
|
||||
alt="error"
|
||||
src="./images/404.gif"
|
||||
height="350"
|
||||
width="auto"
|
||||
height="800"
|
||||
width="800"
|
||||
/><br />
|
||||
</div>
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,275 @@
|
||||
.cc-window {
|
||||
opacity: 1;
|
||||
transition: opacity 1s ease;
|
||||
}
|
||||
.cc-window.cc-invisible {
|
||||
opacity: 0;
|
||||
}
|
||||
.cc-animate.cc-revoke {
|
||||
transition: transform 1s ease;
|
||||
}
|
||||
.cc-animate.cc-revoke.cc-top {
|
||||
transform: translateY(-2em);
|
||||
}
|
||||
.cc-animate.cc-revoke.cc-bottom {
|
||||
transform: translateY(2em);
|
||||
}
|
||||
.cc-animate.cc-revoke.cc-active.cc-bottom,
|
||||
.cc-animate.cc-revoke.cc-active.cc-top,
|
||||
.cc-revoke:hover {
|
||||
transform: translateY(0);
|
||||
}
|
||||
.cc-grower {
|
||||
max-height: 0;
|
||||
overflow: hidden;
|
||||
transition: max-height 1s;
|
||||
}
|
||||
.cc-link,
|
||||
.cc-revoke:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.cc-revoke,
|
||||
.cc-window {
|
||||
position: fixed;
|
||||
overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
font-family: Helvetica, Calibri, Arial, sans-serif;
|
||||
font-size: 16px;
|
||||
line-height: 1.5em;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-ms-flex-wrap: nowrap;
|
||||
flex-wrap: nowrap;
|
||||
z-index: 9999;
|
||||
}
|
||||
.cc-window.cc-static {
|
||||
position: static;
|
||||
}
|
||||
.cc-window.cc-floating {
|
||||
padding: 2em;
|
||||
max-width: 24em;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
}
|
||||
.cc-window.cc-banner {
|
||||
padding: 1em 1.8em;
|
||||
width: 100%;
|
||||
-ms-flex-direction: row;
|
||||
flex-direction: row;
|
||||
}
|
||||
.cc-revoke {
|
||||
padding: 0.5em;
|
||||
}
|
||||
.cc-header {
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
}
|
||||
.cc-btn,
|
||||
.cc-close,
|
||||
.cc-link,
|
||||
.cc-revoke {
|
||||
cursor: pointer;
|
||||
}
|
||||
.cc-link {
|
||||
opacity: 0.8;
|
||||
display: inline-block;
|
||||
padding: 0.2em;
|
||||
}
|
||||
.cc-link:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
.cc-link:active,
|
||||
.cc-link:visited {
|
||||
color: initial;
|
||||
}
|
||||
.cc-btn {
|
||||
display: block;
|
||||
padding: 0.4em 0.8em;
|
||||
font-size: 0.9em;
|
||||
font-weight: 700;
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.cc-banner .cc-btn:last-child {
|
||||
min-width: 140px;
|
||||
}
|
||||
.cc-highlight .cc-btn:first-child {
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
}
|
||||
.cc-highlight .cc-btn:first-child:focus,
|
||||
.cc-highlight .cc-btn:first-child:hover {
|
||||
background-color: transparent;
|
||||
text-decoration: underline;
|
||||
}
|
||||
.cc-close {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0.5em;
|
||||
right: 0.5em;
|
||||
font-size: 1.6em;
|
||||
opacity: 0.9;
|
||||
line-height: 0.75;
|
||||
}
|
||||
.cc-close:focus,
|
||||
.cc-close:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
.cc-revoke.cc-top {
|
||||
top: 0;
|
||||
left: 3em;
|
||||
border-bottom-left-radius: 0.5em;
|
||||
border-bottom-right-radius: 0.5em;
|
||||
}
|
||||
.cc-revoke.cc-bottom {
|
||||
bottom: 0;
|
||||
left: 3em;
|
||||
border-top-left-radius: 0.5em;
|
||||
border-top-right-radius: 0.5em;
|
||||
}
|
||||
.cc-revoke.cc-left {
|
||||
left: 3em;
|
||||
right: unset;
|
||||
}
|
||||
.cc-revoke.cc-right {
|
||||
right: 3em;
|
||||
left: unset;
|
||||
}
|
||||
.cc-top {
|
||||
top: 1em;
|
||||
}
|
||||
.cc-left {
|
||||
left: 1em;
|
||||
}
|
||||
.cc-right {
|
||||
right: 1em;
|
||||
}
|
||||
.cc-bottom {
|
||||
bottom: 1em;
|
||||
}
|
||||
.cc-floating > .cc-link {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.cc-floating .cc-message {
|
||||
display: block;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.cc-window.cc-floating .cc-compliance {
|
||||
-ms-flex: 1;
|
||||
flex: 1;
|
||||
}
|
||||
.cc-window.cc-banner {
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
.cc-banner.cc-top {
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
.cc-banner.cc-bottom {
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
.cc-banner .cc-message {
|
||||
-ms-flex: 1;
|
||||
flex: 1;
|
||||
}
|
||||
.cc-compliance {
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
-ms-flex-line-pack: justify;
|
||||
align-content: space-between;
|
||||
}
|
||||
.cc-compliance > .cc-btn {
|
||||
-ms-flex: 1;
|
||||
flex: 1;
|
||||
}
|
||||
.cc-btn + .cc-btn {
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
@media print {
|
||||
.cc-revoke,
|
||||
.cc-window {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 900px) {
|
||||
.cc-btn {
|
||||
white-space: normal;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 414px) and (orientation: portrait),
|
||||
screen and (max-width: 736px) and (orientation: landscape) {
|
||||
.cc-window.cc-top {
|
||||
top: 0;
|
||||
}
|
||||
.cc-window.cc-bottom {
|
||||
bottom: 0;
|
||||
}
|
||||
.cc-window.cc-banner,
|
||||
.cc-window.cc-left,
|
||||
.cc-window.cc-right {
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
.cc-window.cc-banner {
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
}
|
||||
.cc-window.cc-banner .cc-compliance {
|
||||
-ms-flex: 1;
|
||||
flex: 1;
|
||||
}
|
||||
.cc-window.cc-floating {
|
||||
max-width: none;
|
||||
}
|
||||
.cc-window .cc-message {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.cc-window.cc-banner {
|
||||
-ms-flex-align: unset;
|
||||
align-items: unset;
|
||||
}
|
||||
}
|
||||
.cc-floating.cc-theme-classic {
|
||||
padding: 1.2em;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.cc-floating.cc-type-info.cc-theme-classic .cc-compliance {
|
||||
text-align: center;
|
||||
display: inline;
|
||||
-ms-flex: none;
|
||||
flex: none;
|
||||
}
|
||||
.cc-theme-classic .cc-btn {
|
||||
border-radius: 5px;
|
||||
}
|
||||
.cc-theme-classic .cc-btn:last-child {
|
||||
min-width: 140px;
|
||||
}
|
||||
.cc-floating.cc-type-info.cc-theme-classic .cc-btn {
|
||||
display: inline-block;
|
||||
}
|
||||
.cc-theme-edgeless.cc-window {
|
||||
padding: 0;
|
||||
}
|
||||
.cc-floating.cc-theme-edgeless .cc-message {
|
||||
margin: 2em 2em 1.5em;
|
||||
}
|
||||
.cc-banner.cc-theme-edgeless .cc-btn {
|
||||
margin: 0;
|
||||
padding: 0.8em 1.8em;
|
||||
height: 100%;
|
||||
}
|
||||
.cc-banner.cc-theme-edgeless .cc-message {
|
||||
margin-left: 1em;
|
||||
}
|
||||
.cc-floating.cc-theme-edgeless .cc-btn + .cc-btn {
|
||||
margin-left: 0;
|
||||
}
|
@@ -1,13 +1,8 @@
|
||||
@import url(
|
||||
https://fonts.googleapis.com/css?family=Lato:300italic,
|
||||
700italic,
|
||||
300,
|
||||
700
|
||||
);
|
||||
@import url('https://fonts.googleapis.com/css?family=Fira+Sans&display=swap');
|
||||
|
||||
body {
|
||||
padding: 50px;
|
||||
font: 14px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font: 14px/1.5 Lato, 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
color: #777;
|
||||
font-weight: 300;
|
||||
padding: 1.5em 0;
|
||||
|
@@ -1,8 +1,18 @@
|
||||
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700);
|
||||
@import url(./bootstrap.min.css);
|
||||
@import url('https://fonts.googleapis.com/css?family=Fira+Sans&display=swap');
|
||||
|
||||
td,
|
||||
th,
|
||||
body {
|
||||
color: purple;
|
||||
font-family: 'Fira Sans', Verdana, Helvetica, sans-serif;
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
background-image: url('../images/bg.png');
|
||||
}
|
||||
|
||||
@@ -28,6 +38,35 @@ td {
|
||||
width: 600px;
|
||||
}
|
||||
|
||||
h5,
|
||||
h3 {
|
||||
padding: 3px;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
background-color: #333;
|
||||
color: white;
|
||||
font-family: Verdana, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
p {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 10px;
|
||||
text-align: right;
|
||||
background-color: #333;
|
||||
color: #678ca0;
|
||||
}
|
||||
|
||||
.spacer {
|
||||
margin: 0px;
|
||||
width: 100%;
|
||||
@@ -50,11 +89,6 @@ td {
|
||||
color: red;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #5d83a9;
|
||||
}
|
||||
|
||||
p.main {
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
@@ -62,12 +96,18 @@ p.main {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #5d83a9;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #c39;
|
||||
color: rgb(238, 130, 202);
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #f00;
|
||||
font-style: italic;
|
||||
color: #a296db !important;
|
||||
}
|
||||
|
||||
a:active {
|
||||
@@ -77,3 +117,7 @@ a:active {
|
||||
tr:hover {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
}
|
||||
|
@@ -0,0 +1 @@
|
||||
{ "status": "ok" }
|
@@ -1,48 +1,107 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!--
|
||||
##@Version : 202303091846-git
|
||||
# @@Author : Jason Hempstead
|
||||
# @@Contact : git-admin@casjaysdev.com
|
||||
# @@License : WTFPL
|
||||
# @@ReadME :
|
||||
# @@Copyright : Copyright: (c) 2023 Jason Hempstead, Casjays Developments
|
||||
# @@Created : Thursday, Mar 09, 2023 18:46 EST
|
||||
# @@File : index.html
|
||||
# @@Description : html document
|
||||
# @@Changelog : Updated header
|
||||
# @@TODO :
|
||||
# @@Other :
|
||||
# @@Resource :
|
||||
# @@Terminal App : no
|
||||
# @@sudo/root : no
|
||||
# @@Template : html
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
-->
|
||||
|
||||
<meta charset="utf-8" />
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="generator" content="CasjaysDev" />
|
||||
<meta name="robots" content="index, follow" />
|
||||
<meta name="description" content="" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0"
|
||||
/>
|
||||
<meta name="robots" content="index, follow" />
|
||||
<meta name="generator" content="CasjaysDev" />
|
||||
|
||||
<meta property="og:title" content="" />
|
||||
<meta property="og:type" content="" />
|
||||
<meta name="description" content="REPLACE_SERVER_SOFTWARE container" />
|
||||
<meta property="og:title" content="REPLACE_SERVER_SOFTWARE container" />
|
||||
<meta property="og:locale" content="en_US" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:image" content="./images/favicon.ico" />
|
||||
<meta property="og:url" content="" />
|
||||
<meta property="og:image" content="" />
|
||||
|
||||
<meta name="theme-color" content="#fafafa" />
|
||||
<meta name="theme-color" content="#000000" />
|
||||
<link rel="manifest" href="./site.webmanifest" />
|
||||
|
||||
<link rel="icon" sizes="any" href="./images/favicon.ico" />
|
||||
<link rel="icon" type="image/svg+xml" href="./images/icon.svg" />
|
||||
<link rel="icon" type="image/icon png" href="./images/icon.png" />
|
||||
<link rel="apple-touch-icon" href="./images/icon.png" />
|
||||
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css"
|
||||
/>
|
||||
<link rel="stylesheet" type="text/css" href="./css/cookieconsent.css" />
|
||||
<link rel="stylesheet" href="./css/bootstrap.css" />
|
||||
<link rel="stylesheet" href="./css/index.css" />
|
||||
|
||||
<script src="./js/errorpages/isup.js" defer></script>
|
||||
<script src="./js/errorpages/homepage.js" defer></script>
|
||||
<script src="./js/errorpages/loaddomain.js" defer></script>
|
||||
<script src="./js/errorpages/isup.js"></script>
|
||||
<script src="./js/errorpages/homepage.js"></script>
|
||||
<script src="./js/errorpages/loaddomain.js"></script>
|
||||
<script src="./js/jquery/default.js"></script>
|
||||
<script src="./js/passprotect.min.js" defer></script>
|
||||
<script src="./js/bootstrap.min.js" defer></script>
|
||||
<script src="./js/app.js" defer></script>
|
||||
|
||||
<title>Welcome</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container text-center">
|
||||
<h1 class="m-5">Congratulations</h1>
|
||||
<h2>
|
||||
Your caddy container has been setup.<br /><br /><br /><br /><br />
|
||||
</h2>
|
||||
<body
|
||||
class="container text-center"
|
||||
style="align-items: center; justify-content: center"
|
||||
>
|
||||
<h1 class="m-5">Congratulations</h1>
|
||||
<h2>
|
||||
Your REPLACE_SERVER_SOFTWARE container has been setup.<br />
|
||||
This file is located in /data/htdocs/www/index.html
|
||||
<br /><br />
|
||||
</h2>
|
||||
<br /><br />
|
||||
<br /><br />
|
||||
|
||||
<br /><br />
|
||||
<!-- Begin EU compliant -->
|
||||
<div class="text-center align-items-center fs-3">
|
||||
<script
|
||||
src="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.js"
|
||||
data-cfasync="false"
|
||||
></script>
|
||||
<script>
|
||||
window.cookieconsent.initialise({
|
||||
palette: {
|
||||
popup: {
|
||||
background: '#64386b',
|
||||
text: '#ffcdfd',
|
||||
},
|
||||
button: {
|
||||
background: '#f8a8ff',
|
||||
text: '#3f0045',
|
||||
},
|
||||
},
|
||||
theme: 'edgeless',
|
||||
content: {
|
||||
message:
|
||||
'This site uses cookie and in accordance with the EU GDPR<br />law this message is being displayed.<br />',
|
||||
dismiss: 'Dismiss',
|
||||
link: 'CasjaysDev Privacy Policy',
|
||||
href: 'https://casjaysdev.com/policy',
|
||||
},
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
<!-- End EU compliant -->
|
||||
</body>
|
||||
</html>
|
||||
|
104
rootfs/usr/local/share/template-files/data/htdocs/www/index.php
Normal file
104
rootfs/usr/local/share/template-files/data/htdocs/www/index.php
Normal file
@@ -0,0 +1,104 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<!--
|
||||
##@Version : 202303091846-git
|
||||
# @@Author : Jason Hempstead
|
||||
# @@Contact : git-admin@casjaysdev.com
|
||||
# @@License : WTFPL
|
||||
# @@ReadME :
|
||||
# @@Copyright : Copyright: (c) 2023 Jason Hempstead, Casjays Developments
|
||||
# @@Created : Thursday, Mar 09, 2023 18:46 EST
|
||||
# @@File : index.php
|
||||
# @@Description : php document
|
||||
# @@Changelog : Updated header
|
||||
# @@TODO :
|
||||
# @@Other :
|
||||
# @@Resource :
|
||||
# @@Terminal App : no
|
||||
# @@sudo/root : no
|
||||
# @@Template : html
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
-->
|
||||
|
||||
<meta charset="utf-8" />
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
|
||||
<meta name="robots" content="index, follow" />
|
||||
<meta name="generator" content="CasjaysDev" />
|
||||
|
||||
<meta name="description" content="REPLACE_SERVER_SOFTWARE container" />
|
||||
<meta property="og:title" content="REPLACE_SERVER_SOFTWARE container" />
|
||||
<meta property="og:locale" content="en_US" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:image" content="./images/favicon.ico" />
|
||||
<meta property="og:url" content="" />
|
||||
|
||||
<meta name="theme-color" content="#000000" />
|
||||
<link rel="manifest" href="./site.webmanifest" />
|
||||
|
||||
<link rel="icon" type="image/icon png" href="./images/icon.png" />
|
||||
<link rel="apple-touch-icon" href="./images/icon.png" />
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css" />
|
||||
<link rel="stylesheet" type="text/css" href="./css/cookieconsent.css" />
|
||||
<link rel="stylesheet" href="./css/bootstrap.css" />
|
||||
<link rel="stylesheet" href="./css/index.css" />
|
||||
<script src="./js/errorpages/isup.js"></script>
|
||||
<script src="./js/errorpages/homepage.js"></script>
|
||||
<script src="./js/errorpages/loaddomain.js"></script>
|
||||
<script src="./js/jquery/default.js"></script>
|
||||
<script src="./js/passprotect.min.js" defer></script>
|
||||
<script src="./js/bootstrap.min.js" defer></script>
|
||||
<script src="./js/app.js" defer></script>
|
||||
</head>
|
||||
|
||||
<body class="container text-center" style="align-items: center; justify-content: center">
|
||||
<h1 class="m-5">Congratulations</h1>
|
||||
<h2>
|
||||
Your REPLACE_SERVER_SOFTWARE container has been setup.<br />
|
||||
This file is located in:
|
||||
<?php echo $_SERVER['DOCUMENT_ROOT']; ?>
|
||||
<br /><br />
|
||||
|
||||
SERVER:
|
||||
<?php echo $_SERVER['SERVER_SOFTWARE']; ?> <br />
|
||||
SERVER Address:
|
||||
<?php echo $_SERVER['SERVER_ADDR']; ?> <br />
|
||||
|
||||
</h2>
|
||||
<br /><br />
|
||||
<br /><br />
|
||||
|
||||
<br /><br />
|
||||
<!-- Begin EU compliant -->
|
||||
<div class="text-center align-items-center fs-3">
|
||||
<script src="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.js" data-cfasync="false"></script>
|
||||
<script>
|
||||
window.cookieconsent.initialise({
|
||||
palette: {
|
||||
popup: {
|
||||
background: '#64386b',
|
||||
text: '#ffcdfd',
|
||||
},
|
||||
button: {
|
||||
background: '#f8a8ff',
|
||||
text: '#3f0045',
|
||||
},
|
||||
},
|
||||
theme: 'edgeless',
|
||||
content: {
|
||||
message:
|
||||
'This site uses cookie and in accordance with the EU GDPR<br />law this message is being displayed.<br />',
|
||||
dismiss: 'Dismiss',
|
||||
link: 'CasjaysDev Privacy Policy',
|
||||
href: 'https://casjaysdev.com/policy',
|
||||
},
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
<!-- End EU compliant -->
|
||||
</body>
|
||||
|
||||
</html>
|
@@ -1,45 +1,62 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="">
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<!--
|
||||
##@Version : 202303091846-git
|
||||
# @@Author : Jason Hempstead
|
||||
# @@Contact : git-admin@casjaysdev.com
|
||||
# @@License : WTFPL
|
||||
# @@ReadME :
|
||||
# @@Copyright : Copyright: (c) 2023 Jason Hempstead, Casjays Developments
|
||||
# @@Created : Thursday, Mar 09, 2023 18:46 EST
|
||||
# @@File : info.php
|
||||
# @@Description : html document
|
||||
# @@Changelog : Updated header
|
||||
# @@TODO :
|
||||
# @@Other :
|
||||
# @@Resource :
|
||||
# @@Terminal App : no
|
||||
# @@sudo/root : no
|
||||
# @@Template : html
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
-->
|
||||
|
||||
<meta charset="utf-8" />
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="generator" content="CasjaysDev" />
|
||||
<meta name="robots" content="index, follow" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
|
||||
<meta name="robots" content="index, follow" />
|
||||
<meta name="generator" content="CasjaysDev" />
|
||||
|
||||
<meta property="og:title" content="" />
|
||||
<meta property="og:type" content="" />
|
||||
<meta name="description" content="REPLACE_SERVER_SOFTWARE container" />
|
||||
<meta property="og:title" content="REPLACE_SERVER_SOFTWARE container" />
|
||||
<meta property="og:locale" content="en_US" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:image" content="./images/favicon.ico" />
|
||||
<meta property="og:url" content="" />
|
||||
<meta property="og:image" content="" />
|
||||
|
||||
<meta name="theme-color" content="#fafafa" />
|
||||
<meta name="theme-color" content="#000000" />
|
||||
<link rel="manifest" href="./site.webmanifest" />
|
||||
|
||||
<link rel="icon" sizes="any" href="./images/favicon.ico" />
|
||||
<link rel="icon" type="image/svg+xml" href="./images/icon.svg" />
|
||||
<link rel="icon" type="image/icon png" href="./images/icon.png" />
|
||||
<link rel="apple-touch-icon" href="./images/icon.png" />
|
||||
|
||||
<link rel="stylesheet" href="./css/index.css" />
|
||||
|
||||
<script src="./js/errorpages/isup.js" defer></script>
|
||||
<script src="./js/errorpages/homepage.js" defer></script>
|
||||
<script src="./js/errorpages/loaddomain.js" defer></script>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css" />
|
||||
<script src="./js/errorpages/isup.js"></script>
|
||||
<script src="./js/errorpages/homepage.js"></script>
|
||||
<script src="./js/errorpages/loaddomain.js"></script>
|
||||
<script src="./js/jquery/default.js"></script>
|
||||
<script src="./js/passprotect.min.js" defer></script>
|
||||
<script src="./js/bootstrap.min.js" defer></script>
|
||||
<script src="./js/app.js" defer></script>
|
||||
|
||||
<title>Welcome</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container text-center">
|
||||
<h1 class="m-5">Congratulations</h1>
|
||||
<php phpinfo(); ?>
|
||||
<br /><br /><br /><br /><br />
|
||||
<div class="container" style="text-align: center; align-items: center">
|
||||
<br /><br />
|
||||
<h1 class="m-5">Congratulations PHP has been successfully configured</h1>
|
||||
<br /><br />
|
||||
<?php phpinfo(); ?>
|
||||
<br /><br />
|
||||
</div>
|
||||
</body>
|
||||
|
||||
|
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"status": "ok"
|
||||
}
|
Reference in New Issue
Block a user