Re: [Nginx] How to support file upload in Nginx 1.8

2015-07-17 Thread ecflyer
I'm very new, a novice when it comes to nginx and setting up a web server, and trying to figure out how to upload files. We already have an Apache solution with PHP, but do not want to use PHP anymore. I've looked over this tutorial but could not get it to work: https://coderwall.com/p/swgfvw/ngi

Re: try_files setup

2015-07-17 Thread Miguel C
Add this to the php location try_files $uri =404; Melhores Cumprimentos // Best Regards --- Miguel Clara IT - Sys Admin & Developer On Fri, Jul 17, 2015 at 4:40 PM, Artur wrote: > No one has any idea about the solution for this problem ? > > -- >

Re: Rewrite rules in nginx config

2015-07-17 Thread dr.net
Hi Mike, thank's for reply. I haven't posted all the config because the server is maintained and I have to send to administrator only che rewrite config The php-fpm works Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260404,260408#msg-260408 _

Re: try_files setup

2015-07-17 Thread Artur
No one has any idea about the solution for this problem ? -- Best regards, Artur. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Rewrite rules in nginx config

2015-07-17 Thread Miguel C
On Fri, Jul 17, 2015 at 4:12 PM, dr.net wrote: > Hi all, > thank's to accept me in this forum. > > I'm a newbie... I have a problem with a rewrite rules that I imported from > apache > > This is my code > > > index home.php index.php; > location / { > rewrite ^/(.*)?$ /categories.php?cat=$1; > rew

Rewrite rules in nginx config

2015-07-17 Thread dr.net
Hi all, thank's to accept me in this forum. I'm a newbie... I have a problem with a rewrite rules that I imported from apache This is my code index home.php index.php; location / { rewrite ^/(.*)?$ /categories.php?cat=$1; rewrite ^/(.*).html?$ /game.php?game=$1; rewrite ^/(.*)/(.*).html?$ /ga

Problem with nginx + uwsgi

2015-07-17 Thread Guido
Hi everybody, I'm having a problem with my nginx and uwsgi. I don't really know what I'm doing wrong. Here is the configuration of nginx: server { listen 80; location /api/v1 { uwsgi_pass unix:///tmp/api.sock; include