26 lines
717 B
Nginx Configuration File
26 lines
717 B
Nginx Configuration File
|
|
server {
|
|
listen 80;
|
|
|
|
gzip on;
|
|
gzip_min_length 1000;
|
|
gzip_proxied any;
|
|
gzip_comp_level 1;
|
|
gzip_types text/css text/javascript text/xml text/plain text/x-component application/javascript application/json application/xml application/rss+xml font/truetype font/opentype application/vnd.ms-fontobject image/svg+xml;
|
|
gzip_vary on;
|
|
gzip_disable "msie6";
|
|
|
|
include /etc/nginx/mime.types;
|
|
|
|
|
|
location /log {
|
|
auth_request /auth;
|
|
proxy_pass $URL_LOG;
|
|
}
|
|
|
|
location = /health {
|
|
access_log off;
|
|
add_header 'Content-Type' 'application/json';
|
|
return 200 'UP';
|
|
}
|
|
} |