Welcome! Log In Create A New Profile

Advanced

nginx proxy_pass

曾瑞略
July 14, 2013 11:20PM
Hello,in nginx1 use proxy_pass to nginx2,when http method is get that is ok,but when http method is post ,nginx2 has no access log,nginx1's response  status is 302;  help please,thank you!!
nginx-config details:
nginx1-config:
server {   listen 80;   server_name ocs.aliyun.test;   access_log "pipe:/usr/sbin/cronolog /system/logs/ocs.%Y-%m-%d.log" aliyun_com;   location /widget/ {    proxy_pass http://openwidget.aliyun.test/;    proxy_redirect http://openwidget.aliyun.test/ /widget/;  } }
 
nginx2-config:
server {   listen 80;   server_name openwidget.aliyun.test;   access_log "pipe:/usr/sbin/cronolog /system/logs/openwidget.%Y-%m-%d.log" aliyun_com;   location / {    proxy_pass http://127.0.0.1:38782/openWidget/;    proxy_redirect http://openwidget.aliyun.test/openWidget/ /;  } } _______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Custom 401 page not displaying or not prompting for credentials

Draxter July 13, 2013 09:42AM

Re: Custom 401 page not displaying or not prompting for credentials

Maxim Dounin July 14, 2013 02:56PM

Re: Custom 401 page not displaying or not prompting for credentials

Draxter July 14, 2013 06:34PM

nginx proxy_pass

曾瑞略 July 14, 2013 11:20PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 183
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready