Commit a9e1fd9b authored by nimrod's avatar nimrod
Browse files

For usage in a browser.

Nginx sends the response as an application/octet-stream so browsers try
to download it.
parent b256f494
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -19,5 +19,8 @@ server {
    include             snippets/security-txt.conf;
    include             snippets/ssl.conf;
    error_page 404      /;
    location = /        { return 200 "$remote_addr"; }
    location = /        {
        add_header Content-Type "text/plain; charset=utf-8";
        return 200 "$remote_addr";
    }
}