debug nginx

2.0
adb-sh 1 year ago
parent 84f1d3e22d
commit 3246648f82

@ -8,6 +8,7 @@ RUN npm ci && npm run build
FROM nginx:alpine
COPY ./nginx.conf /etc/nginx/nginx.conf
COPY --from=builder /home/node/app/dist /var/www/html
EXPOSE 8080

@ -77,13 +77,14 @@ http {
location @502 { return 502 '{"status":502,"message":"Bad gateway"}\n'; }
location /mail {
return 302 mailto:info@adb.sh;
return 302 mailto:info@adb.sh;
}
location / {
index index.html;
root /var/www/html;
try_files $uri $uri/ /index.html;
absolute_redirect off;
}
}
}

Loading…
Cancel
Save