Http POST drops port in URL
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a webapp built with Django. I'm currently running it off a laptop at home behind a router. I have the router configured to route all traffic sent to a specific port to that laptop. I have Nginx as a reverse proxy for Apache, using mod_wsgi to run Django. My problem is this: when I try to submit any POST form, the port # gets removed from the url (e.g. 209.245.23.201:1552/login/ becomes 209.245.23.201/login/) Naturally, this breaks. What causes this (Nginx, Apache, Django?) and how can I fix it? Thanks in advance. EDIT: It appears that