13 lines
404 B
Nginx Configuration File
13 lines
404 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
server_name _;
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
location / { try_files $uri $uri/ $uri.html /404.html; }
|
|
location = /llms.txt { default_type text/plain; }
|
|
location = /robots.txt { default_type text/plain; }
|
|
add_header X-Content-Type-Options nosniff;
|
|
add_header Referrer-Policy strict-origin-when-cross-origin;
|
|
add_header X-Frame-Options SAMEORIGIN;
|
|
}
|