actions: Fix subpages
All checks were successful
Build Docker / Build Docker (push) Successful in 22s
All checks were successful
Build Docker / Build Docker (push) Successful in 22s
This commit is contained in:
parent
5d9c2b8fcc
commit
a2f34bd784
@ -1,2 +1,3 @@
|
|||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
COPY . /usr/share/nginx/html
|
COPY . /usr/share/nginx/html
|
||||||
|
COPY default.conf /etc/nginx/conf.d/default.conf
|
14
default.conf
Normal file
14
default.conf
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
server_name localhost;
|
||||||
|
location / {
|
||||||
|
root /usr/share/nginx/html;
|
||||||
|
index index.html index.htm;
|
||||||
|
try_files $uri $uri.html;
|
||||||
|
}
|
||||||
|
error_page 500 502 503 504 /50x.html;
|
||||||
|
location = /50x.html {
|
||||||
|
root /usr/share/nginx/html;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user