mirror of
https://gitlab.silvrtree.co.uk/martind2000/nginx-profiles.git
synced 2025-01-10 20:45:07 +00:00
21 lines
454 B
Plaintext
21 lines
454 B
Plaintext
server {
|
|
listen 80;
|
|
server_name nci.silvrtree.co.uk;
|
|
|
|
#Configures the publicly served root directory
|
|
#Configures the index file to be served
|
|
root /;
|
|
index index.html index.htm;
|
|
# include snippets/cache.conf;
|
|
|
|
#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:3200;
|
|
proxy_set_header Host $host;
|
|
}
|
|
|
|
}
|
|
|