Welcome! Log In Create A New Profile

Advanced

Re: Nginx proxying to Apache: what about mod_rewrite?

September 30, 2009 02:16PM
By the way, this is a bigger snippet of my nginx.conf file, showing how I'm dealing with statics.
I just need to connect properly nginx and Apache, as the statics are server via another domain...
[code]
server {
listen 0.0.0.0:80;
server_name static.domain.com;
location / {
root /home/web/static/;
expires 40d;
add_header Cache-Control public;
}
}
server {
listen 0.0.0.0:80;
server_name domain.com www.domain.com;
location / {
#proxy to Apache
proxy_pass http://127.0.0.1:8030;
}
}
[/code]

Thanks!
Subject Author Posted

Nginx proxying to Apache: what about mod_rewrite?

illarra September 30, 2009 01:01PM

Re: Nginx proxying to Apache: what about mod_rewrite?

Gabriel Ramuglia September 30, 2009 01:28PM

Re: Nginx proxying to Apache: what about mod_rewrite?

hdanniel September 30, 2009 01:28PM

Re: Nginx proxying to Apache: what about mod_rewrite?

illarra September 30, 2009 02:01PM

Re: Nginx proxying to Apache: what about mod_rewrite?

illarra September 30, 2009 02:16PM

Re: Nginx proxying to Apache: what about mod_rewrite?

hdanniel September 30, 2009 03:14PM

Re: Nginx proxying to Apache: what about mod_rewrite?

illarra September 30, 2009 04:24PM

Re: Nginx proxying to Apache: what about mod_rewrite?

illarra October 01, 2009 04:25AM

Re: Nginx proxying to Apache: what about mod_rewrite?

tycjan October 22, 2010 11:41AM

Re: Nginx proxying to Apache: what about mod_rewrite?

Jeff Waugh September 30, 2009 01:38PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 53
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready