diff --git a/src/docker-compose.yaml b/src/docker-compose.yaml index b67eaf1..a91d375 100644 --- a/src/docker-compose.yaml +++ b/src/docker-compose.yaml @@ -4,7 +4,6 @@ services: context: ./nginx/ container_name: nginx ports: - - "80:80" - "443:443" restart: unless-stopped depends_on: diff --git a/src/nginx/nginx.conf b/src/nginx/nginx.conf index 4782580..822d34d 100644 --- a/src/nginx/nginx.conf +++ b/src/nginx/nginx.conf @@ -7,13 +7,6 @@ events { http { include /etc/nginx/mime.types; default_type application/octet-stream; - # A redirect to HTTPS - server { - listen 80; - server_name bismail.42.fr; - return 301 https://$host$request_uri; - } - #This is the default server configuration server { listen 443 ssl default_server;