homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

Post on url with nginx and proxy pass

10+ Year Member

Msg#: 4402365 posted 11:14 am on Dec 30, 2011 (gmt 0)
I am trying to get some config to work.

For example If I post to http://sub.domain.com/wow.php

I want to have the post data available in http://www.domian.com/wow.php by using the following config.

www.domain.com is running on apache+php and sub.domain.com is running on nginx.

nginx.conf is:

server {
listen IP:80;
server_name sub.domain.com;

location /wow.php {
proxy_pass http://www.domain.com/wow.php;


If i now post to http://sub.domain.com/wow.php the POST variables are empty if I run

<form methox="post">
<input type="text" />
<input type="submit" />

on http://www.domain.com/wow.php

I really need this simplifies configuration get to work.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved