Skip to content
Snippets Groups Projects
Forked from icebox / icebox-image-service
3 commits behind the upstream repository.
default.conf 410 B
server {
  listen 80 default_server;
  listen [::]:80 default_server;

  client_max_body_size 4G;
  server_name icebox.nobreakspace.org;

  keepalive_timeout 10;
  root /usr/share/nginx/html;

  # error page
  error_page 404 = /notfound.png;

  try_files
    $uri
    $uri.png
    $uri.jpg
    $uri.jpeg
    =404;


  # default index page
  location ^/$ {
    return 302 http://icebox.nobreakspace.org/;
  }
}