@@ -2,7 +2,7 @@ server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name tehnobox.shop www.tehnobox.shop;
|
||||
root /var/www/pc-shop/public;
|
||||
root /var/www/tehnobox/public;
|
||||
|
||||
location ^~ /.well-known/acme-challenge/ {
|
||||
default_type "text/plain";
|
||||
@@ -18,7 +18,7 @@ server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name tehnobox.shop www.tehnobox.shop;
|
||||
root /var/www/pc-shop/public;
|
||||
root /var/www/tehnobox/public;
|
||||
index index.php;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/tehnobox.shop/fullchain.pem;
|
||||
@@ -1,8 +1,8 @@
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name shop.example.com www.shop.example.com;
|
||||
root /var/www/pc-shop/public;
|
||||
server_name tehnobox.shop www.tehnobox.shop;
|
||||
root /var/www/tehnobox/public;
|
||||
index index.php;
|
||||
|
||||
charset utf-8;
|
||||
Reference in New Issue
Block a user