Nginx SSL conf to access phpMyAdmin
Igor Sysoev
igor at sysoev.ru
Sat May 8 01:12:48 MSD 2010
On Fri, May 07, 2010 at 11:00:50PM +0700, Edho P Arief wrote:
> server {
> listen 443 ssl;
> server_name myserver.com;
> location = /phpmyadmin {
> rewrite ^ $scheme://$host$uri/?$args permanent;
> }
You may use just:
location = /phpmyadmin { rewrite ^ /phpmyadmin/ permanent; }
nginx should add https, server name, and query string.
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list