diff --git a/infra/containers/sanity-nginx/Dockerfile b/infra/containers/sanity-nginx/Dockerfile new file mode 100644 index 0000000..4902b2b --- /dev/null +++ b/infra/containers/sanity-nginx/Dockerfile @@ -0,0 +1,4 @@ +# Because I just really needed ok? +FROM nginx:latest + +COPY default /etc/nginx/conf.d/default.conf \ No newline at end of file diff --git a/infra/containers/sanity-nginx/default b/infra/containers/sanity-nginx/default new file mode 100644 index 0000000..166ad1f --- /dev/null +++ b/infra/containers/sanity-nginx/default @@ -0,0 +1,15 @@ +server { + listen 8080; + listen [::]:8080; + server_name localhost; + location / { + root /usr/share/nginx/html; + index index.html index.htm; + } + + error_page 500 502 503 504 /50x.html; + location = /50x.html { + root /usr/share/nginx/html; + } + +} \ No newline at end of file