Skip to content
This repository was archived by the owner on Dec 17, 2021. It is now read-only.

Commit ca9e06b

Browse files
author
rfaircloth-splunk
committed
feat(container): Create ngnix container
This container accepts http connections on port 9000 and serves mibs from the /asn1 directory
1 parent 96c844a commit ca9e06b

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM nginx:1.19.6
2+
3+
COPY mibs /usr/share/nginx/html
4+
COPY default.conf.template /etc/nginx/templates/

default.conf.template

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
server {
2+
listen 9000;
3+
root /usr/share/nginx/html;
4+
location / {
5+
index index.html;
6+
}
7+
location /asn1 {
8+
autoindex on;
9+
}
10+
11+
}

0 commit comments

Comments
 (0)