I have simple LAN-facing Nginx that serves php-based programs located in individual folders. One of these is phpMyAdmin (under document_root/phpMyAdmin) but I'd like to shorten the folder name to "pma". Here's what happens: * http://192.168.2.1100/pma/ > gives 404 * http://192.168.2.100/phpMyAdmin > shows login page. After login, browser drops to document_root/index.php, shby Beeblebrox - How to...
I have a very simple config file. All the different "web sites" are located as sub-directories of the document root server { listen 127.0.0.1:80; server_name test.org; root /data/http; index index.html index.htm index.php; fastcgi_index index.php; include fastcgi_params; location /sitebar { fastcgi_paby Beeblebrox - How to...
I have some progress and corrections: * I better understand some of the diferences between php-fpm and spawn-fcgi. spawn-fcgi was a left-over startup script from the older php version it seems. I am now using php-fpm with unix sockets and it's working. * php-fpm must be -pre-started (unlike spawn-gcgi) together with nginx in order to serve php pages. I get a lot of error output though, if anby Beeblebrox - How to...
Hello, My system is FreeBSD-Stable (9.2) amd64, nginx 1.5.2.. I am migrating from lighttpd and have 2 questions: 1. I have read several places (http://wiki.nginx.org/FcgiExample) that fastcgi must be started separately. However, my system has two startup scripts available in /usr/local/etc/rc.d: php-fpm and spawn-fcgi. Lighttpd was able to use spawn-fcgi but nginx is not able? What is the diffeby Beeblebrox - How to...
From this thread in the forums: http://forum.nginx.org/read.php?2,214606,215664#msg-215664 Seems like NGINX does not do the setup I described very well and delivers stale cached files - I quote: >------------------------------------ > That's not currently doable with nginx. Proxy_cache_use_stale directive works when you've got your backend down. > What you want is more like doingby Beeblebrox - How to...
I posted a very similar (and even includes socks forwarding) question some time back. No answer unfortunately: http://forum.nginx.org/read.php?11,218653,218711#msg-218711 I did find some answers and posted on the thread however.by Beeblebrox - How to...
EDIT: Any partial answer is also appreciated! So please feel free to offer advice on even a single item (like: not sure about the other questions, but for #2 you can do as such ....) - thanks.by Beeblebrox - How to...
Unlike most subscribers posting here, I am just interested about my PC and I am not running a large network. I am also very new at setting up http servers, so very noob at this. I want to find a simple solution to my following problem: 1. Use a caching proxy on 8080 which all browsers will redirect to. No browser will need to keep cache, but nginx will keep central cache pool. 2. Proxy will alsby Beeblebrox - How to...