Table of Contents

Information

Prerequisites

Directory

MKDIR "%SystemDrive%\www\files"

freenginx Configuration

Server Block

notepad "%SystemDrive%\www\nginx\vhosts.d\files.conf"
server {
    listen "443" "ssl";
    http2 "on";
    server_name "files.realmofespionage.xyz";
    root "C:/www/files";
    index "index.html";

    include C:/www/nginx/default.d/headers.conf;

    add_header Content-Security-Policy "default-src 'self'" always;

#    access_log  logs/files-access.log;
#    error_log  logs/files-error.log;

}

# End
"%SystemDrive%\www\scripts\freenginx\Reload.bat"

index.html

notepad "%SystemDrive%\www\files\index.html"
<a href=../>../</a>
<br>
<a href=https://www.startpage.com>StartPage</a>
<br>
<a href=URL1>NAME1</a>
<br>
<a href=URL2>NAME2</a>

Hidden

notepad "%SystemDrive%\www\files\index.html"
Zzz