ServerName cloud.scummvm.org
Redirect permanent / https://cloud.scummvm.org/
RewriteEngine on
RewriteCond %{SERVER_NAME} =cloud.scummvm.org
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
ServerName cloud.scummvm.org
ServerAdmin webmaster@scummvm.org
DocumentRoot /var/www/cloud/public
SetHandler "proxy:unix:/run/php/php-fpm-cloud-sync.sock|fcgi://localhost"
# Deny access to raw php sources by default
# To re-enable it's recommended to enable access to the files
# only in specific virtual host or directory
Require all denied
# Deny access to files without filename (e.g. '.php')
Require all denied
DirectoryIndex index.php
FallbackResource /index.php
SetEnv DROPBOX_SECRET "3z3eo89c1qpkoui"
SetEnv BOX_SECRET "fViUzNVbQjXzVge453KyWFDYVGLXSson"
SetEnv GOOGLE_DRIVE_SECRET "8OGHlDCfUnwuk4jA9Uiv-Iki"
SetEnv ONEDRIVE_SECRET "Fzbw8tqvYnfdbiBhEc1Rypu"
ErrorLog ${APACHE_LOG_DIR}/cloud_error.log
CustomLog ${APACHE_LOG_DIR}/cloud_access.log combined
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/scummvm.org/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/scummvm.org/privkey.pem