mirror of
https://codeberg.org/Mo8it/How_To_Linux.git
synced 2024-11-21 14:48:02 +00:00
Remove custom container image
This commit is contained in:
parent
e780fa463d
commit
ba4b1c358a
2 changed files with 0 additions and 40 deletions
|
@ -1,4 +0,0 @@
|
|||
FROM docker.io/library/nginx:alpine
|
||||
EXPOSE 80
|
||||
COPY ./nginx.conf /etc/nginx/nginx.conf
|
||||
COPY ./book/ /usr/share/nginx/html/
|
36
nginx.conf
36
nginx.conf
|
@ -1,36 +0,0 @@
|
|||
user nginx;
|
||||
worker_processes auto;
|
||||
|
||||
error_log /var/log/nginx/error.log error;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
charset utf-8;
|
||||
|
||||
access_log off;
|
||||
log_not_found off;
|
||||
|
||||
sendfile on;
|
||||
tcp_nopush on;
|
||||
tcp_nodelay on;
|
||||
|
||||
gzip on;
|
||||
|
||||
server_tokens off;
|
||||
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
server {
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
}
|
||||
|
||||
error_page 404 /404.html;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue