add simple site with container
Build site container / build (push) Canceled after 0s

This commit is contained in:
2026-08-16 03:23:20 +03:00
parent 936d8d4e47
commit 4058b9a596
4 changed files with 283 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
server {
listen 8080;
listen [::]:8080;
server_name _;
root /usr/share/nginx/html;
server_tokens off;
absolute_redirect off;
location = / {
try_files /index.html =404;
}
location = /index.html {
return 308 /;
}
location / {
try_files $uri $uri/ @mainpage;
}
location @mainpage {
try_files /index.html =404;
}
}