nginx-profiles/logger.silvrtree.co.uk
2016-06-29 11:48:51 +01:00

20 lines
425 B
Plaintext

server {
listen 80;
server_name logger.silvrtree.co.uk;
#Configures the publicly served root directory
#Configures the index file to be served
root /;
index index.html index.htm;
#These lines create a bypass for certain pathnames
#www.example.com/test.js is now routed to port 3000
#instead of port 80
location / {
proxy_pass http://localhost:8027;
proxy_set_header Host $host;
}
}