mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2025-02-16 10:30:47 +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
|
- 80:80
|
||||||
- 443:443
|
- 443:443
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/nginx.conf:/etc/nginx/nginx.conf
|
- ./config:/etc/nginx
|
||||||
- ./certs:/etc/nginx/certs
|
|
||||||
- ./data:/usr/share/nginx/html
|
- ./data:/usr/share/nginx/html
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
Loading…
Reference in New Issue
Block a user