Hi,

I use proxy_pass to forward everything to a backend:

location / {
    client_max_body_size 4M;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $http_host;
    proxy_set_header X-NginX-Proxy true;
    proxy_pass http://local_app:8080;
    proxy_redirect off;
   }

this works:

  /admin/utilities

  log : GET /admin/utilities HTTP/1.1" 200

this does not work:
 /admin/utilites.my_form
 log: "POST /admin/utilities.my_form HTTP/1.1" 302 0

what should I do to make it work? Thanks,

A.C.

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,283439,283439#msg-283439

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

Reply via email to