# Panel domain configuration for Open Game Panel
ServerName panel.yourdomain.com
ServerAlias panel.*
# Document root points to the GSP panel installation
DocumentRoot /var/www/GSP
# Directory configuration
Options -Indexes +FollowSymLinks
AllowOverride All
Require all granted
# PHP configuration
php_value upload_max_filesize 100M
php_value post_max_size 100M
php_value max_execution_time 300
php_value max_input_time 300
# Error and access logs
ErrorLog ${APACHE_LOG_DIR}/ogp-panel-error.log
CustomLog ${APACHE_LOG_DIR}/ogp-panel-access.log combined
# Security headers
Header always set X-Content-Type-Options "nosniff"
Header always set X-Frame-Options "SAMEORIGIN"
Header always set X-XSS-Protection "1; mode=block"
# Disable directory listing
Options -Indexes
# SSL/HTTPS configuration (uncomment and configure after obtaining SSL certificate)
#
# ServerName panel.yourdomain.com
# ServerAlias panel.*
#
# DocumentRoot /var/www/GSP
#
# SSLEngine on
# SSLCertificateFile /etc/ssl/certs/panel.yourdomain.com.crt
# SSLCertificateKeyFile /etc/ssl/private/panel.yourdomain.com.key
# SSLCertificateChainFile /etc/ssl/certs/ca-bundle.crt
#
#
# Options -Indexes +FollowSymLinks
# AllowOverride All
# Require all granted
#
#
# ErrorLog ${APACHE_LOG_DIR}/ogp-panel-ssl-error.log
# CustomLog ${APACHE_LOG_DIR}/ogp-panel-ssl-access.log combined
#