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