Simple sanity container on port 8080 for testing purposes
This commit is contained in:
parent
e3afed5e4f
commit
669c414288
4
infra/containers/sanity-nginx/Dockerfile
Normal file
4
infra/containers/sanity-nginx/Dockerfile
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Because I just really needed ok?
|
||||||
|
FROM nginx:latest
|
||||||
|
|
||||||
|
COPY default /etc/nginx/conf.d/default.conf
|
15
infra/containers/sanity-nginx/default
Normal file
15
infra/containers/sanity-nginx/default
Normal file
@ -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;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user