Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Nginx and proxy_pass

$
0
0
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

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>