mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-22 00:03:16 +01:00
updated minimal nginx config
This commit is contained in:
parent
630deefa72
commit
fd80043041
14
docker-compose/nginx/config/nginx.conf
Normal file
14
docker-compose/nginx/config/nginx.conf
Normal file
@ -0,0 +1,14 @@
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
}
|
||||
}
|
||||
}
|
1
docker-compose/nginx/data/index.html
Normal file
1
docker-compose/nginx/data/index.html
Normal file
@ -0,0 +1 @@
|
||||
this is a test website...
|
@ -7,7 +7,6 @@ services:
|
||||
- 80:80
|
||||
- 443:443
|
||||
volumes:
|
||||
- ./config/nginx.conf:/etc/nginx/nginx.conf
|
||||
- ./certs:/etc/nginx/certs
|
||||
- ./config:/etc/nginx
|
||||
- ./data:/usr/share/nginx/html
|
||||
restart: unless-stopped
|
||||
|
Loading…
Reference in New Issue
Block a user