@@ -1,7 +1,7 @@
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name shop.example.com www.shop.example.com;
|
||||
server_name tehnobox.shop www.tehnobox.shop;
|
||||
root /var/www/pc-shop/public;
|
||||
|
||||
location ^~ /.well-known/acme-challenge/ {
|
||||
@@ -17,12 +17,12 @@ server {
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name shop.example.com www.shop.example.com;
|
||||
server_name tehnobox.shop www.tehnobox.shop;
|
||||
root /var/www/pc-shop/public;
|
||||
index index.php;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/shop.example.com/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/shop.example.com/privkey.pem;
|
||||
ssl_certificate /etc/letsencrypt/live/tehnobox.shop/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/tehnobox.shop/privkey.pem;
|
||||
include /etc/letsencrypt/options-ssl-nginx.conf;
|
||||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user