Commit 937ba0f4 authored by Matt Pryor's avatar Matt Pryor
Browse files

Remove default server block

parent 9adaadb1
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -5,11 +5,7 @@
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0
                             http://www.unidata.ucar.edu/schemas/thredds/InvCatalog.1.0.6.xsd">
    <!--
        This is the default catalog that is used if no other catalogs are mounted.
        It includes a single scan element that scans the entire /data directory.
        The OPeNDAP and HTTPServer services are enabled for all files.
    -->
    <!-- Configure the available services -->
    <service name="all" serviceType="Compound" base="">
        <service name="fileserver" serviceType="HTTPServer" base="/thredds/fileServer/" />
        <service name="opendap" serviceType="OPeNDAP" base="/thredds/dodsC/" />
+0 −8
Original line number Diff line number Diff line
@@ -34,14 +34,6 @@ http {

    add_header X-Content-Type-Options nosniff;

    # Default server block that returns 404
    server {
        listen       8080 default_server;
        listen       [::]:8080 default_server;
        server_name  _;
        return 404;
    }

    # Health-check server block that returns 204 for a special domain
    server {
        listen       8080;