nginx/nginx.conf
Nathan Woodburn c9852f487c
All checks were successful
Build Docker for Release / Build Container ARM (push) Successful in 24s
Build Docker for Release / Build Container AMD (push) Successful in 26s
nginx: Updated config
2023-09-11 22:00:23 +10:00

14 lines
235 B
Nginx Configuration File

server {
listen 80;
index index.html;
root /usr/share/nginx/html;
location / {
if ($request_uri ~ ^/(.*)\.html) {
return 302 /$1;
}
try_files $uri $uri.html $uri/ =404;
}
}