Add missing robots.txt, pin version of node in Dockerfile and fix indentation of nginx.conf
This commit is contained in:
parent
70d6df62bd
commit
55b0c0ccaa
3 changed files with 13 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
2
public/robots.txt
Normal file
2
public/robots.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
Sitemap: https://ryujinx.org/sitemap.xml
|
||||
Host: https://ryujinx.org
|
Loading…
Reference in a new issue