something like this? location ~ \.(php)$ { fastcgi_pass php_fpm_backend; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /usr/share/phpmyadmin/$fastcgi_script_name; ... } this catches all files with .php extension.by Paxxil - Nginx Mailing List - English
EDIT: i forgot to add / in front rewrite ^/thumb-(.*)\.jpg$ /thumb.php?id=$1 last; rewrite ^/image-(.*)\.jpg$ /image.php?id=$1 last;by Paxxil - Nginx Mailing List - English
rewrite ^thumb-(.*)\.jpg$ /thumb.php?id=$1 last; rewrite ^image-(.*)\.jpg$ /image.php?id=$1 last; etc.by Paxxil - Nginx Mailing List - English
something like that: location = /index.htm { rewrite ^/.*$ http://$host? permanent; }by Paxxil - Nginx Mailing List - English
Great that you fixed it.... but how? Is it possible to write the solution? thanksby Paxxil - Nginx Mailing List - English
Hey! I am moving from apache to nginx and i am having some problems with proxy settings. Apache settings are: <IfModule mod_proxy.c> ProxyRequests Off ProxyPreserveHost Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /dirpath http://sub.yourdomain.com/dirpath ProxyPassReverse /dirpath http://sub.yourdomain.com/dirpath <Iby Paxxil - Nginx Mailing List - English
Hey! I am moving from apache to nginx and i am having some problems with proxy settings. Apache settings are: <IfModule mod_proxy.c> ProxyRequests Off ProxyPreserveHost Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /dirpath http://sub.yourdomain.com/dirpath ProxyPassReverse /dirpath http://sub.yourdomain.com/dirpath <Iby Paxxil - Migration from Other Servers