rename
This commit is contained in:
parent
a79b913f2d
commit
205d6f159d
1 changed files with 5 additions and 5 deletions
|
@ -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 {
|
Loading…
Reference in a new issue