Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Commit

Permalink
AAAAAAAAAAAAAA
Browse files Browse the repository at this point in the history
  • Loading branch information
khylpe committed Aug 22, 2024
1 parent 5c47760 commit 6ac47bd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 45 deletions.
2 changes: 2 additions & 0 deletions frontend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,5 @@ next-env.d.ts
certificates
# Sentry Config File
.env.sentry-build-plugin

cypress/screenshots/
Binary file removed frontend/cypress/downloads/downloads.htm
Binary file not shown.
47 changes: 2 additions & 45 deletions nginx.conf
Original file line number Diff line number Diff line change
@@ -1,51 +1,8 @@
# Configuration pour aio-tools.com
server {
listen 80;
server_name aio-tools.com www.aio-tools.com;

location / {
return 401;
}
}

server {
listen 443 ssl;
server_name aio-tools.com www.aio-tools.com;

ssl_certificate /etc/ssl/certs/cloudflare.crt;
ssl_certificate_key /etc/ssl/private/cloudflare.key;

ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers on;
ssl_ciphers 'ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384';

location / {
return 401;
}
}


# Configuration pour cube.aio-tools.com
# Configuration pour cube.aio-tools.com dans le conteneur sans SSL
server {
listen 80;
server_name cube.aio-tools.com;

location / {
return 301 https://$host$request_uri;
}
}

server {
listen 443 ssl;
server_name cube.aio-tools.com;

ssl_certificate /etc/ssl/certs/cloudflare.crt;
ssl_certificate_key /etc/ssl/private/cloudflare.key;

ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers on;
ssl_ciphers 'ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384';

location /api {
proxy_pass http://laravel;
proxy_set_header Host $host;
Expand All @@ -57,4 +14,4 @@ server {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}
}

0 comments on commit 6ac47bd

Please sign in to comment.