On Mon, Jun 02, 2014 at 10:12:03PM +0200, KC wrote:

Hi there,

> I want to be able to type http://ipaddress/phpmyadmin (or adminer)
> and see its respective interface. But as it is now, I only get 404
> error.

If you want http://ipaddress/phpmyadmin and http://ipaddress/adminer to
both work, you will probably want a single server{} block with all of
the configuration.

http://nginx.org/en/docs/http/request_processing.html for the reason.

After you've done that, configure each application independently,
probably by wrapping the normal "it's a php script" configuration within
location blocks like

  location ^~ /adminer/

After that, when you test, you can read the nginx logs to see exactly
why the 404 was produced.

Good luck with it,

        f
-- 
Francis Daly        [email protected]

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to