首页 > 代码库 > nginx 配置 phpmyadmin

nginx 配置 phpmyadmin

server {        listen 8092;        server_name *.xxx.com;        root /home/users/cuijian04/odp302/app/phpmyadmin;        set $php_upstream ‘unix:/home/users/cuijian04/odp302/var/hhvm.sock‘;        location ~ ^/themes/ {            root            /home/users/cuijian04/odp302/app/phpmyadmin/;            break;        }        location / {            root /home/users/cuijian04/odp302/app/phpmyadmin;            fastcgi_pass   $php_upstream;            fastcgi_index  index.php;            include        fastcgi.conf;        }        location ~* \.php$ {                index index.php                fastcgi_index index.php;                fastcgi_pass   $php_upstream;                fastcgi_split_path_info ^(.+\.php)(.*)$;                include        fastcgi.conf;        }}

  

nginx 配置 phpmyadmin