Welcome! Log In Create A New Profile

Advanced

Pound + Alias + Port 8080

Posted by microshift 
Pound + Alias + Port 8080
July 19, 2011 01:32PM
Hello

I'm trying Nginx for the first time (moving from Apache) and I'm having a litle trouble with "Alias". I hope someone can help me here ;)

My configuration is like this:

-> Reverse Proxy (Pound) listening on Port 80

-> NGINX on Port 8080 serving http://example.com

Root location works fine but then I have location Alias like this:

location /alias123 {
alias /var/www/123alias;
index index.php;
}

When I try to open http://example.com/alias123
the url in the browser changes to http://example.com:8080/alias123
and fails to open, because of 8080 that shouldn't be there :S

How can I fix this?

I'm running Drupal configuration as sugested in http://wiki.nginx.org/Drupal



Edited 1 time(s). Last edit at 07/19/2011 01:33PM by microshift.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 246
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