Add password reset feature and server management pages
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
0a573145d3
commit
5f93c6728e
14 changed files with 1580 additions and 5 deletions
61
panel.conf
Normal file
61
panel.conf
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
<VirtualHost *:80>
|
||||
# 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
|
||||
<Directory /var/www/GSP>
|
||||
Options -Indexes +FollowSymLinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
|
||||
# PHP configuration
|
||||
<IfModule mod_php7.c>
|
||||
php_value upload_max_filesize 100M
|
||||
php_value post_max_size 100M
|
||||
php_value max_execution_time 300
|
||||
php_value max_input_time 300
|
||||
</IfModule>
|
||||
</Directory>
|
||||
|
||||
# Error and access logs
|
||||
ErrorLog ${APACHE_LOG_DIR}/ogp-panel-error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/ogp-panel-access.log combined
|
||||
|
||||
# Security headers
|
||||
<IfModule mod_headers.c>
|
||||
Header always set X-Content-Type-Options "nosniff"
|
||||
Header always set X-Frame-Options "SAMEORIGIN"
|
||||
Header always set X-XSS-Protection "1; mode=block"
|
||||
</IfModule>
|
||||
|
||||
# Disable directory listing
|
||||
<Directory /var/www/GSP>
|
||||
Options -Indexes
|
||||
</Directory>
|
||||
</VirtualHost>
|
||||
|
||||
# SSL/HTTPS configuration (uncomment and configure after obtaining SSL certificate)
|
||||
#<VirtualHost *:443>
|
||||
# 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
|
||||
#
|
||||
# <Directory /var/www/GSP>
|
||||
# Options -Indexes +FollowSymLinks
|
||||
# AllowOverride All
|
||||
# Require all granted
|
||||
# </Directory>
|
||||
#
|
||||
# ErrorLog ${APACHE_LOG_DIR}/ogp-panel-ssl-error.log
|
||||
# CustomLog ${APACHE_LOG_DIR}/ogp-panel-ssl-access.log combined
|
||||
#</VirtualHost>
|
||||
Loading…
Add table
Add a link
Reference in a new issue