Initial Upload

This commit is contained in:
Matt Batchelder
2025-12-02 10:32:59 -05:00
commit 05ce0da296
2240 changed files with 467811 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# MaxRequestWorkers: maximum number of server processes allowed to start
# MaxConnectionsPerChild: maximum number of requests a server process serves
<IfModule mpm_prefork_module>
StartServers ${CMS_APACHE_START_SERVERS}
MinSpareServers ${CMS_APACHE_MIN_SPARE_SERVERS}
MaxSpareServers ${CMS_APACHE_MAX_SPARE_SERVERS}
MaxRequestWorkers ${CMS_APACHE_MAX_REQUEST_WORKERS}
MaxConnectionsPerChild ${CMS_APACHE_MAX_CONNECTIONS_PER_CHILD}
</IfModule>

View File

@@ -0,0 +1,66 @@
TraceEnable Off
ServerSignature Off
ServerTokens OS
<VirtualHost *:80>
ServerAdmin me@example.org
DocumentRoot /var/www/cms/web/
PassEnv MYSQL_DATABASE
PassEnv MYSQL_HOST
PassEnv MYSQL_USER
PassEnv MYSQL_PORT
PassEnv MYSQL_PASSWORD
PassEnv MYSQL_ATTR_SSL_CA
PassEnv MYSQL_ATTR_SSL_VERIFY_SERVER_CERT
PassEnv CMS_SERVER_NAME
PassEnv CMS_DEV_MODE
PassEnv INSTALL_TYPE
PassEnv GIT_COMMIT
PassEnv CMS_USE_MEMCACHED
PassEnv MEMCACHED_HOST
PassEnv MEMCACHED_PORT
PassEnv XMR_HOST
ServerName ${CMS_SERVER_NAME}
KeepAlive Off
LimitRequestBody 0
XSendFile on
XSendFilePath /var/www/cms/library
<Directory /var/www/cms/web/>
DirectoryIndex index.php index.html
Options -Indexes +FollowSymLinks -MultiViews
AllowOverride All
Require all granted
</Directory>
Alias /chromeos /var/www/cms/library/playersoftware/chromeos/latest
<Directory /var/www/cms/library/playersoftware/chromeos/latest>
php_admin_value engine Off
DirectoryIndex index.html
Options -Indexes -FollowSymLinks -MultiViews
AllowOverride None
Require all granted
</Directory>
<Location /xmr>
ProxyPass ws://${XMR_HOST}:8080
</Location>
ErrorLog /dev/stderr
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" *%Ts* *%Dus*" requesttime
CustomLog /dev/stdout combined
CustomLog /dev/stdout requesttime
# Hardening
Header always append X-Frame-Options SAMEORIGIN
Header always append X-Content-Type-Options nosniff
# Alias /xibo /var/www/cms/web
</VirtualHost>