this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: embed nginx config in Dockerfile

+28
+1
Dockerfile
··· 13 13 FROM nginx:alpine 14 14 15 15 COPY --from=builder /app/dist /usr/share/nginx/html 16 + COPY nginx.conf /etc/nginx/conf.d/default.conf 16 17 17 18 EXPOSE 80 18 19 CMD ["nginx", "-g", "daemon off;"]
+27
nginx.conf
··· 1 + server { 2 + listen 80; 3 + 4 + location / { 5 + root /usr/share/nginx/html; 6 + index index.html index.htm; 7 + try_files $uri $uri.html $uri/index.html $uri/index.htm $uri/ =404; 8 + } 9 + 10 + location /.well-known/ { 11 + root /usr/share/nginx/html; 12 + add_header Access-Control-Allow-Origin *; 13 + add_header Access-Control-Allow-Methods "GET, OPTIONS"; 14 + } 15 + 16 + error_page 404 /404.html; 17 + location = /404.html { 18 + root /usr/share/nginx/html; 19 + internal; 20 + } 21 + 22 + error_page 500 502 503 504 /50x.html; 23 + location = /50x.html { 24 + root /usr/share/nginx/html; 25 + internal; 26 + } 27 + }