<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<pre wrap="">hello,
my config looks like:
server {
listen 443;
server_name foobar;
access_log /var/log/nginx/https.access_log;
error_log /var/log/nginx/https.error_log debug;
index index.php index.html index.htm;
fastcgi_index index.php;
root /home/www/ssl/foobar;
ssl on;
ssl_certificate /etc/nginx/ssl/server.crt;
ssl_certificate_key /etc/nginx/ssl/server.key;
location ~ ^<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>mailadmin<span class="moz-txt-tag">/</span></i>(.*\.php)$ {
root <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>home/www/ssl/foobar/mailadmin/bin<span class="moz-txt-tag">/</span></i>$1;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include /etc/nginx/fastcgi_params;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
}
a request to <a class="moz-txt-link-freetext" href="https://foobar/mailadmin/index.php">https://foobar/mailadmin/index.php</a> is done very well and
the index.php is shown
a request to <a class="moz-txt-link-freetext" href="https://foobar/mailadmin/">https://foobar/mailadmin/</a> is shown Error 403 Forbidden
How can i solve that a request to <a class="moz-txt-link-freetext" href="https://foobar/mailadmin/">https://foobar/mailadmin/</a> is also
shown the index.php ?</pre>
</body>
</html>