Created
January 28, 2021 18:17
-
-
Save gonzariosm/72e3d1432d80566551d580d44314ea86 to your computer and use it in GitHub Desktop.
Bitnami PHPMyAdmin httpd-app.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfDefine USE_PHP_FPM> | |
<Proxy "unix:/opt/bitnami/php/var/run/phpmyadmin.sock|fcgi://phpmyadmin-fpm" timeout=300> | |
</Proxy> | |
</IfDefine> | |
<Directory "/opt/bitnami/apps/phpmyadmin/htdocs"> | |
# AuthType Basic | |
# AuthName phpMyAdmin | |
# AuthUserFile "/opt/bitnami/apache2/users" | |
# Require valid-user | |
AllowOverride None | |
<IfModule php7_module> | |
php_value upload_max_filesize 80M | |
php_value post_max_size 80M | |
</IfModule> | |
<IfDefine USE_PHP_FPM> | |
<FilesMatch \.php$> | |
SetHandler "proxy:fcgi://phpmyadmin-fpm" | |
</FilesMatch> | |
</IfDefine> | |
<IfVersion < 2.3 > | |
Order allow,deny | |
Allow from 127.0.0.1 | |
Satisfy all | |
</IfVersion> | |
<IfVersion >= 2.3> | |
Require local | |
</IfVersion> | |
ErrorDocument 403 "For security reasons, this URL is only accessible using localhost (127.0.0.1) as the hostname." | |
</Directory> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment