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

31 lines
601 B
Plaintext

server {
gzip on;
listen 80;
server_name .pipes.silvrtree.co.uk;
client_body_in_file_only clean;
client_body_buffer_size 32K;
client_max_body_size 10M;
sendfile on;
send_timeout 300;
#Configures the publicly served root directory
#Configures the index file to be served
#These lines create a bypass for certain pathnames
#www.example.com/test.js is now routed to port 3000
#instead of port 80
location / {
gzip_static on;
proxy_pass http://localhost:9002;
proxy_set_header Host $host;
# auth_basic "Restricted";
# auth_basic_user_file /etc/nginx/.htpasswd;
}
}