Welcome! Log In Create A New Profile

Advanced

Re: Nginx SSL conf to access phpMyAdmin

May 08, 2010 07:20AM
On Fri, May 07, 2010 at 08:04:38PM -0400, ideanet wrote:

> thank you Igor!
> just another question: it's possible to define an "allow hosts list" (IP or range of IP) for the phpmyadmin directory ?

location ~ ^/phpmyadmin/.+\.php$ {
try_files /system/maintenance.html $uri =404;

allow 192.168.1.0/24;
allow 192.168.3.0/24;
deny all;

fastcgi_pass backend;
include /etc/nginx/fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTPS on;
}

location ~ \.php$ {
...


--
Igor Sysoev
http://sysoev.ru/en/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx SSL conf to access phpMyAdmin

ideanet May 07, 2010 09:30AM

Re: Nginx SSL conf to access phpMyAdmin

edogawaconan May 07, 2010 12:06PM

Re: Nginx SSL conf to access phpMyAdmin

Igor Sysoev May 07, 2010 05:16PM

Re: Nginx SSL conf to access phpMyAdmin

Igor Sysoev May 07, 2010 05:02PM

Re: Nginx SSL conf to access phpMyAdmin

ideanet May 07, 2010 08:04PM

Re: Nginx SSL conf to access phpMyAdmin

Igor Sysoev May 08, 2010 07:20AM

Re: Nginx SSL conf to access phpMyAdmin

Igor Sysoev May 08, 2010 07:22AM

Re: Nginx SSL conf to access phpMyAdmin

ideanet May 08, 2010 03:06PM

Re: Nginx SSL conf to access phpMyAdmin

Igor Sysoev May 08, 2010 03:20PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 147
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready