Change to looks like to 101010.fr config file

This commit is contained in:
gardouille 2020-03-10 20:50:03 +01:00
parent 046f45f9dd
commit d1ae5fa1b3
Signed by: gardouille
GPG Key ID: E759BAA22501AF32

View File

@ -1,10 +1,10 @@
server {
listen 80;
# listen [::]:80;
server_name 0x0.envs.net;
server_name null.101010.fr;
access_log /var/log/nginx/0x0.envs.net-access.log;
error_log /var/log/nginx/0x0.envs.net-error.log;
access_log /var/log/nginx/null.101010.fr-access.log;
error_log /var/log/nginx/null.101010.fr-error.log;
location / {
return 307 https://$host$request_uri;
@ -17,28 +17,28 @@ server {
server {
listen 443 ssl http2;
server_name 0x0.envs.net;
server_name null.101010.fr;
ssl_certificate /etc/letsencrypt/live/0x0.envs.net/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/0x0.envs.net/privkey.pem;
ssl_certificate /etc/letsencrypt/live/null.101010.fr/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/null.101010.fr/privkey.pem;
ssl_protocols TLSv1.2;
ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:10m;
ssl_verify_depth 3;
ssl_dhparam /etc/ssl/certs/envs_dhparam.pem;
ssl_dhparam /etc/ssl/certs/dhparam.pem;
ssl_session_tickets off;
ssl_stapling on;
ssl_stapling_verify on;
ssl_trusted_certificate /etc/letsencrypt/live/0x0.envs.net/chain.pem;
ssl_trusted_certificate /etc/letsencrypt/live/null.101010.fr/chain.pem;
add_header X-XSS-Protection "1; mode=block";
add_header X-Content-Type-Options nosniff;
# add_header X-Frame-Options "SAMEORIGIN";
access_log /var/log/nginx/0x0.envs.net-access.log;
error_log /var/log/nginx/0x0.envs.net-error.log;
access_log /var/log/nginx/null.101010.fr-access.log;
error_log /var/log/nginx/null.101010.fr-error.log;
root /srv/0x0;