Kafkatorio/modules/web-map/docker/nginx.conf
2022-10-08 16:05:44 +02:00

27 lines
626 B
Nginx Configuration File

events {}
http {
include mime.types;
default_type application/octet-stream;
# Sets the path, format, and configuration for a buffered log write
#log_format compression '$remote_addr - $remote_user [$time_local] '
#'"$request" $status $upstream_addr '
#'"$http_referer" "$http_user_agent"';
server {
listen 80;
root /usr/share/nginx/html;
index index.html;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to redirecting to index.html
try_files $uri $uri/ $uri.html /index.html;
include mime.types;
}
}
}