Initial commit

This commit is contained in:
2019-01-15 13:21:24 +01:00
commit dc50642ed9
49 changed files with 10493 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
server {
listen 80;
server_name localhost;
sendfile off;
access_log /dev/stdout combined;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
expires 0;
}
location /health {
add_header Content-Type text/plain;
access_log off;
return 200 'Ok';
}
location /graph/ {
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://dancefinder;
}
error_log /dev/stdout info;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}