R
R
Roman Pavlovsky2019-12-18 14:30:36
PHP
Roman Pavlovsky, 2019-12-18 14:30:36

How to make PMA work correctly for multiple domains without using one "service" address?

Good afternoon.
There is an item in the PMA config: $cfg['PmaAbsoluteUri'] = ' https://www.blabla.ru/myadmin ';

Actually the question is:
I have several domains, about 30. How can I write domains in this line so that the pma address does not break?
I have pma installed on a shared folder in 1 instance and the nginx settings have a shared folder for all requests that start with pma. But at the first authorization in pma, the address breaks and the port number 80 appears in the address line, while the https protocol is used.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Adamos, 2019-12-18
@Adamos

There is an item in the PMA config:

RTFM
Since version 2.3.0, you can ignore this variable and put a space in this line - in most cases, phpMyAdmin automatically determines the correct setting. Read more in the configuration file.

A
Andrey Gavrilov, 2019-12-18
@thexaver

Maybe make one pma address for all domains?

R
Roman Sokolov, 2019-12-18
@jimquery

In nginx something like this:

location /phpmyadmin {
        alias /usr/share/phpMyAdmin;
        index index.php;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question