diff --git a/Dockerfile b/Dockerfile index 7410f80..d02b7e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage build -FROM node:lts-alpine as build-stage +FROM node:16-alpine as build-stage WORKDIR /app COPY package*.json ./ RUN npm install diff --git a/build/nginx.conf b/build/nginx.conf index 7d45b6f..5c83a92 100644 --- a/build/nginx.conf +++ b/build/nginx.conf @@ -1,14 +1,14 @@ server { - listen 80 default_server; - listen [::]:80 default_server; + listen 80 default_server; + listen [::]:80 default_server; - location / { - root /usr/share/nginx/html; - try_files $uri $uri/ /index.html; - index index.html; - } + location / { + root /usr/share/nginx/html; + try_files $uri $uri/ /index.html; + index index.html; + } - location = /robots.txt { - root /usr/share/nginx/html; - } + location = /robots.txt { + root /usr/share/nginx/html; + } } diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..4cf885b --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,2 @@ +Sitemap: https://ryujinx.org/sitemap.xml +Host: https://ryujinx.org