21 lines
400 B
Plaintext
21 lines
400 B
Plaintext
server {
|
|
listen 80 default_server;
|
|
listen [::]:80 default_server;
|
|
|
|
server_name _;
|
|
root /var/www/atlas;
|
|
index index.html;
|
|
|
|
access_log /var/log/nginx/atlas-access.log;
|
|
error_log /var/log/nginx/atlas-error.log;
|
|
|
|
location = /health {
|
|
add_header Content-Type text/plain;
|
|
return 200 "ok\n";
|
|
}
|
|
|
|
location / {
|
|
try_files $uri $uri/ =404;
|
|
}
|
|
}
|