@@ -1,8 +1,8 @@
server {
listen 80;
server_name _;
- location / {
- root /usr/share/nginx/html;
- index index.html;
- }
+ location / {
+ root /usr/share/nginx/html;
+ index index.html;
+ }
}
@@ -5,7 +5,8 @@ services:
container_name: nginx
ports:
- 80:80
- - 443:443
+ # (optional) uncomment the line below to enable HTTPS
+ # - 443:443
volumes:
- ./config/default.conf:/etc/nginx/conf.d/default.conf:ro
- ./data:/usr/share/nginx/html:ro