Welcome! Log In Create A New Profile

Advanced

Nginx and proxy_pass

Posted by vidak 
Nginx and proxy_pass
April 18, 2013 08:43PM
Hi,

I want nginx server serve all images, JavaScipt and CSS files and for all other to proxy_pass http://127.0.0.1:8080;

this is example of config file

server {
listen 80;
server_name go;
location / {
proxy_pass http://127.0.0.1:8080;
}
}

Beside nginx is go lang server on 8080 port.

Is it possible and how to do that?

Thanks in advance.

Vidak



Edited 1 time(s). Last edit at 04/18/2013 08:46PM by vidak.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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