mirror of
https://github.com/linuxserver/docker-phpmyadmin.git
synced 2026-02-04 13:56:07 +08:00
Make compatible with nginx restructure
This commit is contained in:
parent
a42a6ec74e
commit
8197063dca
@ -3,7 +3,7 @@ server {
|
||||
listen 80 default_server;
|
||||
|
||||
server_name _;
|
||||
root /app/phpmyadmin;
|
||||
root /app/www/public;
|
||||
index index.php;
|
||||
|
||||
client_max_body_size 0;
|
||||
@ -1,9 +1,5 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
if [ ! -f /config/nginx/site-confs/default ] ; then
|
||||
cp /defaults/default /config/nginx/site-confs
|
||||
fi
|
||||
|
||||
mkdir -p /config/phpmyadmin
|
||||
|
||||
if [ ! -f /config/phpmyadmin/config.secret.inc.php ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user