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 {