We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be26c33 commit 8ab536dCopy full SHA for 8ab536d
2 files changed
infra/web/default.conf
@@ -1,6 +1,18 @@
1
server {
2
server_name loa-work.info;
3
4
+ location = /sitemap.xml {
5
+ root /app/public;
6
+ add_header Content-Type application/xml;
7
+ expires 1d;
8
+ }
9
+
10
+ location = /robots.txt {
11
12
+ add_header Content-Type text/plain;
13
14
15
16
location / {
17
proxy_pass http://localhost:3000;
18
proxy_http_version 1.1;
src/backend/Dockerfile
@@ -12,5 +12,6 @@ COPY --from=build /app/node_modules ./node_modules
COPY --from=build /app/package.json .
COPY --from=build /app/prisma ./prisma
COPY frontend-build ./dist/frontend
+COPY ../frontend/public ./public
EXPOSE 3000
CMD ["yarn", "start:prod"]
0 commit comments