Test staging nginx config

pull/25/head
Shahan Nedadahandeh 7 months ago
parent 91ac58ae53
commit f3110fda04
Signed by: snedadah
GPG Key ID: 8638C7F917385B01
  1. 3
      Dockerfile
  2. 9
      staging-ngix.conf

@ -1,2 +1,5 @@
FROM nginx
COPY ./out /usr/share/nginx/html
COPY staging-nginx.conf /etc/nginx/conf.d
RUN rm /etc/nginx/conf.d/default.conf

@ -0,0 +1,9 @@
server {
listen 80;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
error_page 404 /index.html;
}
Loading…
Cancel
Save