nginx things

This commit is contained in:
Rafi Greenberg
2021-02-03 10:21:14 -08:00
parent 98bcab5b81
commit 1ddf9fe813
2 changed files with 7 additions and 10 deletions

View File

@@ -8,3 +8,4 @@ RUN npm run build
FROM nginx:alpine
COPY --from=builder build /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf

View File

@@ -1,7 +1,4 @@
events { worker_connections 1024; }
http {
server {
server {
listen 80;
root /usr/share/nginx/html;
include /etc/nginx/mime.types;
@@ -9,5 +6,4 @@ http {
location / {
try_files $uri /index.html;
}
}
}