Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ services:
context: ./nginx/
container_name: nginx
ports:
- "80:80"
- "443:443"
restart: unless-stopped
depends_on:
Expand Down
7 changes: 0 additions & 7 deletions src/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading