nginx-profiles/gitlab.silvrtree.co.uk

23 lines
511 B
Plaintext
Raw Normal View History

2016-06-29 10:48:51 +00:00
server {
listen 80;
server_name gitlab.silvrtree.co.uk;
client_max_body_size 50m;
#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:10080;
proxy_set_header Host $host;
client_max_body_size 50m;
}
}