PMA nginx conf
This commit is contained in:
17
conf/pmanginx.conf
Normal file
17
conf/pmanginx.conf
Normal file
@ -0,0 +1,17 @@
|
||||
server {
|
||||
listen 8080;
|
||||
listen [::]:8080;
|
||||
server_name localhost;
|
||||
access_log /var/log/nginx/phpmyadmin.vhost.access.log;
|
||||
error_log /var/log/nginx/phpmyadmin.vhost.error.log;
|
||||
root /usr/share/phpmyadmin;
|
||||
index index.php;
|
||||
location ~ \.php$ {
|
||||
try_files $uri =404;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
include fastcgi_params;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user