mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-25 09:44:24 +01:00
change config to be simplified
This commit is contained in:
parent
fd80043041
commit
68d5a442d5
8
docker-compose/nginx/config/default.conf
Normal file
8
docker-compose/nginx/config/default.conf
Normal file
@ -0,0 +1,8 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
}
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
}
|
||||
}
|
||||
}
|
@ -7,6 +7,6 @@ services:
|
||||
- 80:80
|
||||
- 443:443
|
||||
volumes:
|
||||
- ./config:/etc/nginx
|
||||
- ./data:/usr/share/nginx/html
|
||||
- ./config/default.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
- ./data:/usr/share/nginx/html:ro
|
||||
restart: unless-stopped
|
||||
|
Loading…
Reference in New Issue
Block a user