From 205d6f159d4ce0aa302f862f844e78821ce05967 Mon Sep 17 00:00:00 2001 From: j Date: Sun, 21 Nov 2021 10:09:09 +0100 Subject: [PATCH] rename --- etc/nginx/sites-available/{phantas.ma => njp.ma} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename etc/nginx/sites-available/{phantas.ma => njp.ma} (83%) diff --git a/etc/nginx/sites-available/phantas.ma b/etc/nginx/sites-available/njp.ma similarity index 83% rename from etc/nginx/sites-available/phantas.ma rename to etc/nginx/sites-available/njp.ma index 4f2bb3e..5d892ab 100644 --- a/etc/nginx/sites-available/phantas.ma +++ b/etc/nginx/sites-available/njp.ma @@ -9,19 +9,19 @@ server { root /var/www/html; autoindex off; } - rewrite ^/(.*) https://phantas.ma/$1 permanent; + rewrite ^/(.*) https://njp.ma/$1 permanent; } server { server_tokens off; - server_name phantas.ma; + server_name njp.ma; listen 443 ssl http2; listen [::]:443 ssl http2; - ssl_trusted_certificate /etc/letsencrypt/live/phantas.ma/chain.pem; - ssl_certificate /etc/letsencrypt/live/phantas.ma/fullchain.pem; - ssl_certificate_key /etc/letsencrypt/live/phantas.ma/privkey.pem; + ssl_trusted_certificate /etc/letsencrypt/live/njp.ma/chain.pem; + ssl_certificate /etc/letsencrypt/live/njp.ma/fullchain.pem; + ssl_certificate_key /etc/letsencrypt/live/njp.ma/privkey.pem; #include /etc/letsencrypt/nginx.conf; location /favicon.ico {